premake5: Let's do a bit more precise scripting.

This commit is contained in:
/dev/urandom 2016-01-04 20:06:00 +01:00
parent 1b484ecea3
commit ddf7b62d6f
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -54,25 +54,19 @@ workspace "iw4x"
-- VS 2015 toolset only
toolset "msc-140"
configuration "Debug"
defines { "DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug"
configuration "DebugStatic"
defines { "NDEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks", "StaticRuntime" }
optimize "Debug"
configuration "Release"
configuration "Release*"
defines { "NDEBUG" }
flags { "MultiProcessorCompile", "Symbols", "LinkTimeOptimization", "No64BitChecks" }
optimize "Full"
configuration "ReleaseStatic"
defines { "NDEBUG" }
flags { "MultiProcessorCompile", "Symbols", "LinkTimeOptimization", "No64BitChecks", "StaticRuntime" }
optimize "Full"
configuration "Debug*"
defines { "DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug"
configuration "*Static"
flags { "StaticRuntime" }
project "iw4x"
kind "SharedLib"
@ -112,23 +106,9 @@ workspace "iw4x"
end
-- Specific configurations
configuration "Debug"
defines { "DEBUG" }
flags { "UndefinedIdentifiers" }
optimize "Debug"
flags { "UndefinedIdentifiers" }
configuration "DebugStatic"
defines { "NDEBUG" }
flags { "UndefinedIdentifiers" }
optimize "Debug"
configuration "Release*"
flags { "FatalCompileWarnings" }
configuration "Release"
defines { "NDEBUG" }
flags { "FatalCompileWarnings", "UndefinedIdentifiers" }
optimize "Full"
configuration "ReleaseStatic"
defines { "NDEBUG" }
flags { "FatalCompileWarnings", "UndefinedIdentifiers" }
optimize "Full"