aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat')
-rw-r--r--NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat15
1 files changed, 5 insertions, 10 deletions
diff --git a/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat b/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
index e3a297c..7b51db9 100644
--- a/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
+++ b/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
@@ -1,8 +1,10 @@
CD /D %~dp0
+set GW_DEPS_ROOT=%~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%
+REM single " is not a mistake
+setx GW_DEPS_ROOT "%GW_DEPS_ROOT%
+REM this one is for local use
+set GW_DEPS_ROOT=%GW_DEPS_ROOT%
echo GW_DEPS_ROOT = %GW_DEPS_ROOT%
REM Install cmake using packman
@@ -27,11 +29,4 @@ pushd compiler\vc14win64-cmake\
popd
-rmdir /s /q compiler\vc14win32-cmake\
-mkdir compiler\vc14win32-cmake\
-pushd compiler\vc14win32-cmake\
-%CMAKE% ..\.. -G "Visual Studio 14 2015" -AWin32 -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
-
pause