Fix wrong correction for static-only builds.

This commit is contained in:
/dev/urandom 2016-09-26 00:55:48 +02:00
parent 9e4f6604a8
commit 5061ce7f15
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -260,7 +260,6 @@ workspace "iw4x"
location "./build"
objdir "%{wks.location}/obj"
targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
--configurations { "Debug", "DebugStatic", "Release", "ReleaseStatic" }
configurations { "Debug", "Release" }
architecture "x32"
platforms "x86"
@ -268,6 +267,8 @@ workspace "iw4x"
-- VS 2015 toolset only
toolset "msc-140"
flags { "StaticRuntime" }
configuration "windows"
defines { "_WINDOWS", "WIN32" }
@ -280,9 +281,7 @@ workspace "iw4x"
defines { "DEBUG", "_DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug"
--configuration "*Static"
flags { "StaticRuntime" }
symbols "On"
project "iw4x"
kind "SharedLib"
@ -396,7 +395,7 @@ workspace "iw4x"
"copy /y \"$(TargetDir)*.pdb\" \"" .. saneCopyToPath .. "\"",
}
end
-- This has to be the last one, as otherwise VisualStudio will succeed building even if copying fails
postbuildcommands {
"copy /y \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\"",