Experiments
This commit is contained in:
@@ -6,7 +6,11 @@ param(
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$result = [IO.Path]::GetFullPath((Join-Path (Get-Location) $ResultDirectory))
|
||||
$result = if ([IO.Path]::IsPathRooted($ResultDirectory)) {
|
||||
[IO.Path]::GetFullPath($ResultDirectory)
|
||||
} else {
|
||||
[IO.Path]::GetFullPath((Join-Path (Get-Location) $ResultDirectory))
|
||||
}
|
||||
New-Item -ItemType Directory -Force -Path $result | Out-Null
|
||||
$cpu = (Get-ItemProperty 'HKLM:\HARDWARE\DESCRIPTION\System\CentralProcessor\0').ProcessorNameString
|
||||
$windows = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
|
||||
@@ -60,7 +64,8 @@ $metadata.GetEnumerator() | ForEach-Object {
|
||||
# the source set; generated executables receive their own manifest.
|
||||
$sourceRoots = @(
|
||||
'.gitignore', 'CMakeLists.txt', 'CMakePresets.json', 'README.md',
|
||||
'build.bat', 'benchmark.bat', 'include', 'src', 'tests', 'tools', 'docs'
|
||||
'build.bat', 'benchmark.bat', 'large_benchmark.bat',
|
||||
'include', 'src', 'tests', 'tools', 'docs'
|
||||
)
|
||||
$sourceFiles = @()
|
||||
foreach ($entry in $sourceRoots) {
|
||||
|
||||
Reference in New Issue
Block a user