
Discussion thread: https://lists.llvm.org/pipermail/llvm-dev/2021-January/148048.html Move debuginfo-test into a subdirectory of a new top-level directory, called cross-project-tests. The new name replaces "debuginfo-test" as an LLVM project enabled via LLVM_ENABLE_PROJECTS. Differential Revision: https://reviews.llvm.org/D95339 Reviewed by: aprantl
24 lines
443 B
Batchfile
24 lines
443 B
Batchfile
@echo OFF
|
|
setlocal EnableDelayedExpansion
|
|
|
|
call "%VS140COMNTOOLS%..\..\VC\bin\amd64\vcvars64.bat"
|
|
|
|
@echo OFF
|
|
setlocal EnableDelayedExpansion
|
|
|
|
for %%I in (%SOURCE_INDEXES%) do (
|
|
%PATHTOCLANGCL% /c !COMPILER_OPTIONS_%%I! !SOURCE_FILE_%%I! /Fo!OBJECT_FILE_%%I!
|
|
if errorlevel 1 goto :FAIL
|
|
)
|
|
|
|
%PATHTOCLANGCL% %LINKER_OPTIONS% %OBJECT_FILES% /Fe%EXECUTABLE_FILE%
|
|
if errorlevel 1 goto :FAIL
|
|
goto :END
|
|
|
|
:FAIL
|
|
echo FAILED
|
|
exit /B 1
|
|
|
|
:END
|
|
exit /B 0
|