aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/CmakeGenerateProjects.bat
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/samples/CmakeGenerateProjects.bat')
-rw-r--r--NvCloth/samples/CmakeGenerateProjects.bat17
1 files changed, 4 insertions, 13 deletions
diff --git a/NvCloth/samples/CmakeGenerateProjects.bat b/NvCloth/samples/CmakeGenerateProjects.bat
index dcb2bbc..d1da2cf 100644
--- a/NvCloth/samples/CmakeGenerateProjects.bat
+++ b/NvCloth/samples/CmakeGenerateProjects.bat
@@ -1,11 +1,8 @@
rem @echo off
CD /D %~dp0
-echo "Note: You need to run this with admin rights for the first time to set GW_DEPS_ROOT globally."
-call "../scripts/locate_gw_root.bat" GW_DEPS_ROOT_F
@echo on
-setx GW_DEPS_ROOT "%GW_DEPS_ROOT_F%
-echo GW_DEPS_ROOT = %GW_DEPS_ROOT%
+
REM Install cmake using packman
set PACKMAN=call ../scripts/packman/packman.cmd
@@ -21,9 +18,9 @@ REM Make sure the various variables that we need are set
call "../scripts/locate_cuda.bat" CUDA_PATH_
echo CUDA_PATH_ = %CUDA_PATH_%
-IF EXIST %~dp0..\Externals\CMakeModules (
- set GW_DEPS_ROOT=%~dp0..\
-)
+
+set GW_DEPS_ROOT=%~dp0..\..\
+
IF NOT DEFINED GW_DEPS_ROOT GOTO GW_DEPS_ROOT_UNDEFINED
@@ -34,12 +31,6 @@ set SAMPLES_ROOT_DIR=%~dp0
REM Generate projects here
-rmdir /s /q compiler\vc14win32-cmake\
-mkdir compiler\vc14win32-cmake\
-pushd compiler\vc14win32-cmake\
-%CMAKE% ..\.. -G "Visual Studio 14 2015" -AWin32 -DCUDA_TOOLKIT_ROOT_DIR="%CUDA_PATH_%" -DTARGET_BUILD_PLATFORM=windows -DSTATIC_WINCRT=0 -DBL_DLL_OUTPUT_DIR=%OUTPUT_ROOT%\bin\vc14win32-cmake -DBL_LIB_OUTPUT_DIR=%OUTPUT_ROOT%\lib\vc14win32-cmake -DBL_EXE_OUTPUT_DIR=%OUTPUT_ROOT%\bin\vc14win32-cmake
-popd
-
rmdir /s /q compiler\vc14win64-cmake\
mkdir compiler\vc14win64-cmake\
pushd compiler\vc14win64-cmake\