Files
metasploit-gs/external/source/HostingCLR_inject/make.bat
T
2025-04-29 09:44:03 +10:00

26 lines
486 B
Batchfile

@ECHO OFF
IF "%VCINSTALLDIR%" == "" GOTO NEED_VS
IF "%1"=="X64" GOTO BUILD_X64
ECHO "Building HostingCLR All Platforms (Release)"
SET PLAT=all
GOTO RUN
:BUILD_X64
ECHO "Building HostingCLR x64 (Release)"
SET PLAT=x64
GOTO RUN
:RUN
PUSHD workspace
msbuild.exe make.msbuild /target:%PLAT%
POPD
GOTO :END
:NEED_VS
ECHO "This command must be executed from within a Visual Studio Command prompt."
ECHO "This can be found under Microsoft Visual Studio 2017 -> Visual Studio Tools"
:END