From 0eed1a7d288579b1176fb60861afbbd9cb6bcc52 Mon Sep 17 00:00:00 2001 From: Kushal Jain Date: Mon, 3 Jun 2024 15:56:20 +0530 Subject: [PATCH] update windows build scripts to build with correct build type --- build_windows_cuda.bat | 4 ++-- build_windows_no_cuda.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build_windows_cuda.bat b/build_windows_cuda.bat index ec7022865..8c98fd8d9 100644 --- a/build_windows_cuda.bat +++ b/build_windows_cuda.bat @@ -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 . \ No newline at end of file +cmake --build . --config Debug \ No newline at end of file diff --git a/build_windows_no_cuda.bat b/build_windows_no_cuda.bat index 26e0f95b9..abc4ba1d1 100644 --- a/build_windows_no_cuda.bat +++ b/build_windows_no_cuda.bat @@ -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 . \ No newline at end of file +cmake --build . --config Debug \ No newline at end of file