Ignore LNK4221 in Windows builds

This commit is contained in:
Itms
2024-08-27 14:37:58 +02:00
committed by Nicolas Auvray
parent a0a4ca56a5
commit ac3e8f34c3
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
// This pipeline builds the game on Windows (which uses the MSVC 15.0 compiler from Visual Studio 2017) and runs tests.
def visualStudioPath = "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe\""
def buildOptions = "/p:PlatformToolset=v141_xp /p:XPDeprecationWarning=false /t:pyrogenesis /t:AtlasUI /t:test /nologo -clp:NoSummary"
def buildOptions = "/p:PlatformToolset=v141_xp /p:XPDeprecationWarning=false /t:pyrogenesis /t:AtlasUI /t:test /m:2 /nologo -clp:NoSummary"
pipeline {
// Stop previous build in pull requests, but not in branches
+2
View File
@@ -418,6 +418,8 @@ function project_create(project_name, target_type)
filter "action:vs*"
buildoptions "/utf-8"
-- disable LNK4221 warning, to avoid spending energy ordering projects in linker invocations
linkoptions "/ignore:4221"
filter {}
project_set_target(project_name)