From 614c36fbe2a2adbf630c74765f589561b4c5a3cf Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Sun, 3 Jan 2016 15:18:47 +0100 Subject: [PATCH] premake5: Map "Debug" and "Release" configurations to "Normal". The general standard for any C++ project normally is to have a Debug and a Release version of the binaries, however in our case we only have one configuration that mixes both. Setting up aliases for this in order to prevent confusion on why the standard configurations don't work. --- premake5.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 6b7c1188..0e75f872 100644 --- a/premake5.lua +++ b/premake5.lua @@ -48,7 +48,7 @@ newaction { solution "iw4x" location ("./build") - configurations { "Normal" } + configurations { "Normal", "Debug", "Release" } project "iw4x" kind "SharedLib" @@ -56,6 +56,10 @@ solution "iw4x" files { "./src/**.hpp", "./src/**.cpp" } includedirs { "%{prj.location}" } architecture "x32" + configmap { + ["Debug"] = "Normal", + ["Release"] = "Normal" + } -- Allow newer Microsoft toolsets but fall back to VS2013 if _ACTION == "vs2015" then