Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 9ebd822

Browse files
committed
[[ Prebuilts ]] set the target for msbuild compilation to "default"
This will prevent msbuild from compiling all targets in the livecode solution, so avoiding rebuilding the prebuilt thirdparty libraries
1 parent 1d45a3b commit 9ebd822

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

make.cmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ if /I "%BUILD_PLATFORM%"=="win-x86" (
3333
if not defined VSINSTALLDIR set VSINSTALLDIR=%ProgramFilesBase%\Microsoft Visual Studio\2017\BuildTools\
3434
call "%VSINSTALLDIR%VC\Auxiliary\Build\vcvarsall.bat" %VSCMD_ARG_TGT_ARCH%
3535

36-
@if "%1" NEQ "" set MSBUILD_TARGET_ARG=/t:%1
36+
@if "%1" NEQ "" (
37+
set MSBUILD_TARGET_ARG=/t:%1
38+
) else (
39+
set MSBUILD_TARGET_ARG=/t:default
40+
)
3741

38-
msbuild %BUILD_PROJECT% /fl /flp:Verbosity=normal /nologo /m:1 %BUILD_TARGET_ARG% /p:Configuration=%BUILDTYPE% /p:Platform=%MSBUILD_PLATFORM%
42+
msbuild %BUILD_PROJECT% /fl /flp:Verbosity=normal /nologo /m:1 %MSBUILD_TARGET_ARG% /p:Configuration=%BUILDTYPE% /p:Platform=%MSBUILD_PLATFORM%
3943

4044
@exit %ERRORLEVEL%

0 commit comments

Comments
 (0)