Skip to content

Commit

Permalink
change buildBulletSim.ps1 to try and pass pre-processor variables cor…
Browse files Browse the repository at this point in the history
…rectly
  • Loading branch information
Misterblue committed Dec 7, 2023
1 parent 0643412 commit c6dd28b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildBulletSim.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
$BULLETVERSION = Get-Content -Path .\lib\VERSION
$BULLETSIMVERSION = Get-Content -Path .\VERSION

msbuild -p:BULLETVERSION=$BULLETVERSION -p:BULLETSIMVERSION=$BULLETSIMVERSION -p:Configuration=Release BulletSim.sln
Set-Item -Path Env:CL -Value "/DBULLETVERSION#$BULLETVERSION /DBULLETSIMVERSION#$BULLETSIMVERSION"

msbuild -p:Configuration=Release BulletSim.sln

0 comments on commit c6dd28b

Please sign in to comment.