diff scripts/ScriptWrapper.bat @ 2:9235d8341a18

Refactor the build system invocation commands. Now we have proper knowledge of the projects inside a codebase ("branch"). The plugin should correctly parse configuration names, find the correct module to build based on the configuration, and so on. Also, added support for generating the clang compilation database.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 22 Jan 2021 16:38:18 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/ScriptWrapper.bat	Fri Jan 22 16:38:18 2021 -0800
@@ -0,0 +1,20 @@
+@echo off
+
+rem ## A simple batch file for running other scripts sequentially.
+rem ## The parameter should be a response file with one command line on
+rem ## each line.
+
+setlocal
+
+set RESPONSEFILE=%1
+set DEBUG=%2
+
+for /f "delims=" %%I in (%RESPONSEFILE%) do (
+
+	if "%DEBUG%" == "1" (
+		echo Running script: %%I
+	) else (
+		%%I
+	)
+)
+