Update windows build script
This commit is contained in:
parent
6b039aeac0
commit
4f9f632362
@ -4,7 +4,7 @@ Param(
|
||||
|
||||
$Compiler = "cl.exe"
|
||||
|
||||
$GeneralFlags = "/Wall /WX /wd4996"
|
||||
$GeneralFlags = "/Wall /WX /wd4996 /wd4464"
|
||||
$LibraryFlags = "/LD"
|
||||
|
||||
$Kernel = (Get-ChildItem Env:OS).Value
|
||||
@ -46,7 +46,7 @@ mkdir -p $OutDir > $null
|
||||
mkdir -p $TestsDir > $null
|
||||
|
||||
# Run code generation
|
||||
Invoke-Expression "python3 -m codegen"
|
||||
Invoke-Expression "python -m codegen"
|
||||
|
||||
# Build and run tests
|
||||
Invoke-Expression "$Compiler $GeneralFlags $IncludeDirs $TestIncludeDirs $SrcFiles $TestSrcFiles $TestOutputs" -ErrorAction Stop
|
||||
|
Loading…
x
Reference in New Issue
Block a user