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.
This commit is contained in:
/dev/urandom 2016-01-03 15:18:47 +01:00
parent 90e4cbbfbe
commit 614c36fbe2
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -48,7 +48,7 @@ newaction {
solution "iw4x" solution "iw4x"
location ("./build") location ("./build")
configurations { "Normal" } configurations { "Normal", "Debug", "Release" }
project "iw4x" project "iw4x"
kind "SharedLib" kind "SharedLib"
@ -56,6 +56,10 @@ solution "iw4x"
files { "./src/**.hpp", "./src/**.cpp" } files { "./src/**.hpp", "./src/**.cpp" }
includedirs { "%{prj.location}" } includedirs { "%{prj.location}" }
architecture "x32" architecture "x32"
configmap {
["Debug"] = "Normal",
["Release"] = "Normal"
}
-- Allow newer Microsoft toolsets but fall back to VS2013 -- Allow newer Microsoft toolsets but fall back to VS2013
if _ACTION == "vs2015" then if _ACTION == "vs2015" then