aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_vc14win32_untested.bat
diff options
context:
space:
mode:
Diffstat (limited to 'generate_projects_vc14win32_untested.bat')
-rwxr-xr-xgenerate_projects_vc14win32_untested.bat22
1 files changed, 22 insertions, 0 deletions
diff --git a/generate_projects_vc14win32_untested.bat b/generate_projects_vc14win32_untested.bat
new file mode 100755
index 0000000..c021597
--- /dev/null
+++ b/generate_projects_vc14win32_untested.bat
@@ -0,0 +1,22 @@
+:: 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
+@call "%~dp0buildtools\get_build_deps.cmd" win.msvc
+@if %ERRORLEVEL% neq 0 exit /b %errorlevel%
+
+@echo Getting target platform dependencies for win.x86_32.vc140 ...
+@call "%~dp0buildtools\packman5\packman.cmd" pull "%~dp0target_platform_deps.xml" --platform win.x86_32.vc140 --postscript "%~dp0buildtools\cmake_projects_vc14win32.bat"
+@if %ERRORLEVEL% neq 0 (
+ @exit /b %errorlevel%
+) else (
+ @echo Success!
+)
+
+:CLEAN_EXIT
+@exit /b 0 \ No newline at end of file