Mercurial > vim-unreal
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:43d0e448edce | 2:9235d8341a18 |
---|---|
1 @echo off | |
2 | |
3 rem ## A simple batch file for running other scripts sequentially. | |
4 rem ## The parameter should be a response file with one command line on | |
5 rem ## each line. | |
6 | |
7 setlocal | |
8 | |
9 set RESPONSEFILE=%1 | |
10 set DEBUG=%2 | |
11 | |
12 for /f "delims=" %%I in (%RESPONSEFILE%) do ( | |
13 | |
14 if "%DEBUG%" == "1" ( | |
15 echo Running script: %%I | |
16 ) else ( | |
17 %%I | |
18 ) | |
19 ) | |
20 |