From b1d2ec3107a26a34fca3584ede7f485bbd47c075 Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Mon, 4 Jan 2016 02:19:12 +0100 Subject: [PATCH] premake5: Fix general configuration incl. post-build event. --- premake5.lua | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/premake5.lua b/premake5.lua index 4686f197..0ceb2828 100644 --- a/premake5.lua +++ b/premake5.lua @@ -68,26 +68,6 @@ solution "iw4x" toolset "msc-120" end - configuration "Debug" - defines { "DEBUG" } - flags { "MultiProcessorCompile", "Symbols", "UndefinedIdentifiers", "No64BitChecks" } - optimize "Debug" - - configuration "DebugStatic" - defines { "NDEBUG" } - flags { "MultiProcessorCompile", "Symbols", "UndefinedIdentifiers", "StaticRuntime", "No64BitChecks" } - optimize "Debug" - - configuration "Release" - defines { "NDEBUG" } - flags { "MultiProcessorCompile", "Symbols", "FatalCompileWarnings", "UndefinedIdentifiers", "LinkTimeOptimization", "No64BitChecks" } - optimize "Full" - - configuration "ReleaseStatic" - defines { "NDEBUG" } - flags { "MultiProcessorCompile", "Symbols", "FatalCompileWarnings", "UndefinedIdentifiers", "LinkTimeOptimization", "StaticRuntime", "No64BitChecks" } - optimize "Full" - if not _OPTIONS["no-new-structure"] then vpaths { ["Headers/*"] = "src/**.hpp", @@ -110,3 +90,23 @@ solution "iw4x" "copy /y \"$(TargetPath)\" \"" .. saneCopyToPath .. "\"" } end + + configuration "Debug" + defines { "DEBUG" } + flags { "MultiProcessorCompile", "Symbols", "UndefinedIdentifiers", "No64BitChecks" } + optimize "Debug" + + configuration "DebugStatic" + defines { "NDEBUG" } + flags { "MultiProcessorCompile", "Symbols", "UndefinedIdentifiers", "StaticRuntime", "No64BitChecks" } + optimize "Debug" + + configuration "Release" + defines { "NDEBUG" } + flags { "MultiProcessorCompile", "Symbols", "FatalCompileWarnings", "UndefinedIdentifiers", "LinkTimeOptimization", "No64BitChecks" } + optimize "Full" + + configuration "ReleaseStatic" + defines { "NDEBUG" } + flags { "MultiProcessorCompile", "Symbols", "FatalCompileWarnings", "UndefinedIdentifiers", "LinkTimeOptimization", "StaticRuntime", "No64BitChecks" } + optimize "Full" \ No newline at end of file