From 0f0942c6167776e4fd0fb1fb817737f367d78ffe Mon Sep 17 00:00:00 2001 From: Michael Herron Date: Mon, 4 Mar 2024 11:43:46 -0700 Subject: [PATCH] Added option to build debug version in FEBio build script --- ci/Windows/build.bat | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ci/Windows/build.bat b/ci/Windows/build.bat index e9fbe8a3e..39c719cb8 100644 --- a/ci/Windows/build.bat +++ b/ci/Windows/build.bat @@ -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 ..