Skip to content

Commit

Permalink
Added option to build debug version in FEBio build script
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrossherron committed Mar 4, 2024
1 parent 9c8d55f commit 0f0942c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci/Windows/build.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
call "%ONEAPI_ROOT%\setvars.bat"

set CONFIG_TYPE="Release"

IF "%~1"=="-d" set CONFIG_TYPE="Debug"

cmake . -LA -B "cmbuild
cd "cmbuild
msbuild /p:configuration=Release /maxCpuCount:%NUMBER_OF_PROCESSORS% ALL_BUILD.vcxproj
copy bin\febio.xml bin\Release\
msbuild /p:configuration=%CONFIG_TYPE% /maxCpuCount:%NUMBER_OF_PROCESSORS% ALL_BUILD.vcxproj
copy bin\febio.xml bin\%CONFIG_TYPE%\
cd ..

0 comments on commit 0f0942c

Please sign in to comment.