Files
metasploit-gs/external/source/HostingCLR_inject/make.bat
T
2020-04-10 15:07:07 -05:00

26 lines
476 B
Batchfile

@ECHO OFF
IF "%VCINSTALLDIR%" == "" GOTO NEED_VS
IF "%1"=="X64" GOTO BUILD_X64
ECHO "Building HostingCLR x64 (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