Skip to content

Commit

Permalink
update windows build scripts to build with correct build type
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaljain-apra committed Jun 3, 2024
1 parent 58ac6df commit 0eed1a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build_windows_cuda.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ SET VCPKG_ARGS=-DENABLE_CUDA=ON -DENABLE_WINDOWS=ON -DENABLE_LINUX=OFF -DCMAKE_T
mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %VCPKG_ARGS%
cmake --build .
cmake --build . --config RelWithDebInfo
cd ..
rem goto :EOF
mkdir _debugbuild
cd _debugbuild
cmake -DCMAKE_BUILD_TYPE=Debug %VCPKG_ARGS%
cmake --build .
cmake --build . --config Debug
4 changes: 2 additions & 2 deletions build_windows_no_cuda.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ cd ..
mkdir _buildNoCuda
cd _buildNoCuda
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_CUDA=OFF -DENABLE_WINDOWS=ON -DENABLE_LINUX=OFF -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -A x64 ../base
cmake --build .
cmake --build . --config RelWithDebInfo
cd ..

rem goto :EOF
mkdir _debugbuildNoCuda
cd _debugbuildNoCuda
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_CUDA=OFF -DENABLE_WINDOWS=ON -DENABLE_LINUX=OFF -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -A x64 ../base
cmake --build .
cmake --build . --config Debug

0 comments on commit 0eed1a7

Please sign in to comment.