aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2018-05-03 18:22:48 +0200
committerMarijn Tamis <[email protected]>2018-05-03 18:22:48 +0200
commitca32c59a58d37c1822e185a2d5f3d0d3e8943593 (patch)
treeb06b9eec03f34344ef8fc31aa147b2714d3962ee /NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat
parentForced rename of platform folders in cmake dir. Git didn't pick this up before. (diff)
downloadnvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.tar.xz
nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.zip
NvCloth 1.1.4 Release. (24070740)
Diffstat (limited to 'NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat')
-rw-r--r--NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat b/NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat
new file mode 100644
index 0000000..1d77af4
--- /dev/null
+++ b/NvCloth/samples/external/assimp-4.1.0/CmakeGenerateProjects.bat
@@ -0,0 +1,25 @@
+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%
+call "../../../scripts/locate_cmake.bat" CMAKE_PATH_F
+echo CMAKE_PATH_F = %CMAKE_PATH_F%
+
+
+SET PATH=%PATH%;"%CMAKE_PATH_F%"
+
+rmdir /s /q compiler\vc14win64-cmake\
+mkdir compiler\vc14win64-cmake\
+pushd compiler\vc14win64-cmake\
+cmake ..\.. -G "Visual Studio 14 2015" -Ax64
+popd
+
+rmdir /s /q compiler\vc14win32-cmake\
+mkdir compiler\vc14win32-cmake\
+pushd compiler\vc14win32-cmake\
+cmake ..\.. -G "Visual Studio 14 2015" -AWin32
+popd
+
+pause