aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_vc14win64.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 /generate_projects_vc14win64.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 'generate_projects_vc14win64.bat')
-rw-r--r--generate_projects_vc14win64.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/generate_projects_vc14win64.bat b/generate_projects_vc14win64.bat
new file mode 100644
index 0000000..6d38c13
--- /dev/null
+++ b/generate_projects_vc14win64.bat
@@ -0,0 +1,20 @@
+:: Reset errorlevel status so we are not inheriting this state from the calling process:
+@call :CLEAN_EXIT
+
+:: Set the blast root to the current directory so that included solutions that aren't Blast know where the root is without having to
+:: guess or hardcode a relative path.
+:: Use the "short" path so that we don't have to quote paths in that calls below. If we don't do that spaces can break us.
+@SET BLAST_ROOT_DIR=%~sdp0
+
+:: Run packman to ensure dependencies are present and run cmake generation script afterwards
+@echo Running packman in preparation for cmake ...
+@echo.
+@call "%~dp0buildtools\packman\windows\packman.cmd" %PM_OPTIONS_EXT% pull "%~dp0dependencies.xml" --platform vc14win64 --postscript "%~dp0buildtools\cmake_projects_vc14win64.bat"
+@if %ERRORLEVEL% neq 0 (
+ @exit /b %errorlevel%
+) else (
+ @echo Success!
+)
+
+:CLEAN_EXIT
+@exit /b 0 \ No newline at end of file