aboutsummaryrefslogtreecommitdiff
path: root/buildtools/cmake_projects_vc14win32.bat
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
committerBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
commite1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch)
tree9f0cfce09c71a2c27ff19589fcad6cd83504477c /buildtools/cmake_projects_vc14win32.bat
parentfirst commit (diff)
downloadblast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz
blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'buildtools/cmake_projects_vc14win32.bat')
-rw-r--r--buildtools/cmake_projects_vc14win32.bat47
1 files changed, 47 insertions, 0 deletions
diff --git a/buildtools/cmake_projects_vc14win32.bat b/buildtools/cmake_projects_vc14win32.bat
new file mode 100644
index 0000000..099292a
--- /dev/null
+++ b/buildtools/cmake_projects_vc14win32.bat
@@ -0,0 +1,47 @@
+@echo off
+
+echo #############################################################################################
+echo Starting %~n0 %date% %time%
+echo #############################################################################################
+
+echo PM_CMakeModules_VERSION %PM_CMakeModules_VERSION%
+
+if NOT DEFINED PM_CMakeModules_VERSION GOTO DONT_RUN_STEP_2
+
+IF NOT DEFINED PM_PACKAGES_ROOT GOTO PM_PACKAGES_ROOT_UNDEFINED
+
+REM Now set up the CMake command from PM_PACKAGES_ROOT
+
+SET CMAKECMD=%PM_cmake_PATH%\bin\cmake.exe
+
+echo "Cmake: %CMAKECMD%"
+
+
+REM Generate projects here
+
+echo.
+echo #############################################################################################
+ECHO "Creating VS2015 Win32"
+
+SET CMAKE_OUTPUT_DIR=compiler\vc14win32-cmake\
+IF EXIST %CMAKE_OUTPUT_DIR% rmdir /S /Q %CMAKE_OUTPUT_DIR%
+mkdir %CMAKE_OUTPUT_DIR%
+pushd %CMAKE_OUTPUT_DIR%
+%CMAKECMD% %BLAST_ROOT_DIR% -G "Visual Studio 14 2015" -AWin32 -DTARGET_BUILD_PLATFORM=Windows -DBL_LIB_OUTPUT_DIR=%BLAST_ROOT_DIR%\lib\vc14win32-cmake\ -DBL_DLL_OUTPUT_DIR=%BLAST_ROOT_DIR%\bin\vc14win32-cmake\ -DBL_EXE_OUTPUT_DIR=%BLAST_ROOT_DIR%\bin\vc14win32-cmake\
+popd
+if %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
+
+
+GOTO :End
+
+:PM_PACKAGES_ROOT_UNDEFINED
+ECHO PM_PACKAGES_ROOT has to be defined, pointing to the root of the dependency tree.
+PAUSE
+GOTO END
+
+:DONT_RUN_STEP_2
+ECHO Don't run this batch file directly. Run generate_projects_(platform).bat instead
+PAUSE
+GOTO END
+
+:End