view scripts/ScriptWrapper.bat @ 11:06af9916ba7c default tip

Generate compilation database for clang by default
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 29 Aug 2023 13:07:20 -0700
parents 9235d8341a18
children
line wrap: on
line source

@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
	)
)