aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
committerMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
commitd243404d4ba88bcf53f7310cc8980b4efe38c19f (patch)
treedcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /NvCloth/Tools/AuthoringLibrary/CmakeGenerateProjects.bat
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadnvcloth-1.1.6.tar.xz
nvcloth-1.1.6.zip
1.1.6 Release.1.1.6
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