diff options
| author | Marijn Tamis <[email protected]> | 2018-05-03 18:22:48 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2018-05-03 18:22:48 +0200 |
| commit | ca32c59a58d37c1822e185a2d5f3d0d3e8943593 (patch) | |
| tree | b06b9eec03f34344ef8fc31aa147b2714d3962ee /PxShared/GenerateProjects.bat | |
| parent | Forced rename of platform folders in cmake dir. Git didn't pick this up before. (diff) | |
| download | nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.tar.xz nvcloth-ca32c59a58d37c1822e185a2d5f3d0d3e8943593.zip | |
NvCloth 1.1.4 Release. (24070740)
Diffstat (limited to 'PxShared/GenerateProjects.bat')
| -rw-r--r-- | PxShared/GenerateProjects.bat | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/PxShared/GenerateProjects.bat b/PxShared/GenerateProjects.bat new file mode 100644 index 0000000..7924d3f --- /dev/null +++ b/PxShared/GenerateProjects.bat @@ -0,0 +1,49 @@ +@echo off + +REM Make sure the various variables that we need are set + +IF NOT DEFINED GW_DEPS_ROOT GOTO GW_DEPS_ROOT_UNDEFINED + +IF NOT DEFINED BOOST_ROOT GOTO BOOST_ROOT_UNDEFINED + +IF NOT DEFINED CUDA_BIN_PATH GOTO CUDA_ROOT_UNDEFINED + +IF EXIST GW_DEPS_ROOT\CMakeModules ( + set CMAKE_MODULE_PATH=%GW_DEPS_ROOT%\CMakeModules +) ELSE ( + set CMAKE_MODULE_PATH=%GW_DEPS_ROOT%\sw\physx\tools\CMakeModules +) + +REM Generate projects here + +rmdir /s /q compiler\vc12win32-cmake\ +mkdir compiler\vc12win32-cmake\ +pushd compiler\vc12win32-cmake\ +cmake ..\cmake\windows -G "Visual Studio 12 2013" -AWin32 -DTARGET_BUILD_PLATFORM=windows +popd + +rmdir /s /q compiler\vc12win64-cmake\ +mkdir compiler\vc12win64-cmake\ +pushd compiler\vc12win64-cmake\ +cmake ..\cmake\windows -G "Visual Studio 12 2013" -Ax64 -DTARGET_BUILD_PLATFORM=windows +popd + +popd + +GOTO :End + +:GW_DEPS_ROOT_UNDEFINED +ECHO GW_DEPS_ROOT has to be defined, pointing to the root of the dependency tree. +PAUSE +GOTO END + +:BOOST_ROOT_UNDEFINED +ECHO BOOST_ROOT has to be defined, pointing to the root of your local Boost install. +PAUSE +GOTO END + +:CUDA_ROOT_UNDEFINED +ECHO CUDA_BIN_PATH has to be defined, pointing to the bin folder of your local CUDA install. +PAUSE + +:End |