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" location "./build"
objdir "%{wks.location}/obj" objdir "%{wks.location}/obj"
targetdir "%{wks.location}/bin/%{cfg.buildcfg}" targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
--configurations { "Debug", "DebugStatic", "Release", "ReleaseStatic" }
configurations { "Debug", "Release" } configurations { "Debug", "Release" }
architecture "x32" architecture "x32"
platforms "x86" platforms "x86"
@ -268,6 +267,8 @@ workspace "iw4x"
-- VS 2015 toolset only -- VS 2015 toolset only
toolset "msc-140" toolset "msc-140"
flags { "StaticRuntime" }
configuration "windows" configuration "windows"
defines { "_WINDOWS", "WIN32" } defines { "_WINDOWS", "WIN32" }
@ -280,9 +281,7 @@ workspace "iw4x"
defines { "DEBUG", "_DEBUG" } defines { "DEBUG", "_DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" } flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug" optimize "Debug"
symbols "On"
--configuration "*Static"
flags { "StaticRuntime" }
project "iw4x" project "iw4x"
kind "SharedLib" kind "SharedLib"