From 4f9f632362fbe861b124eb02ceb50a8bd43e47c7 Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Sun, 20 Apr 2025 17:28:38 +0100 Subject: [PATCH] Update windows build script --- build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index 74ebfc1..1b128ce 100644 --- a/build.ps1 +++ b/build.ps1 @@ -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