Update windows build script

This commit is contained in:
Abdelrahman Said 2025-04-20 17:28:38 +01:00
parent 6b039aeac0
commit 4f9f632362

View File

@ -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