summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-24 17:06:50 +0100
committerwithmorten <morten.with@gmail.com>2021-01-24 17:06:50 +0100
commitd7c00841d646d8b4bd8395cb5d8b98dedfd2d730 (patch)
treed1c2eb36f3ab48b898f3c6a5a2745e9c23159a52 /premake5.lua
parent3e6bb267f3d9834a1f341449945cac43563cffc2 (diff)
add Vanilla config to premake and premake CI
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index e6c8ea5a..f715f1e5 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -65,7 +65,7 @@ end
workspace "re3"
language "C++"
- configurations { "Debug", "Release" }
+ configurations { "Debug", "Release", "Vanilla" }
startproject "re3"
location "build"
symbols "Full"
@@ -113,13 +113,16 @@ workspace "re3"
filter "configurations:Debug"
defines { "DEBUG" }
- filter "configurations:Release"
+ filter "configurations:not Debug"
defines { "NDEBUG" }
optimize "Speed"
if(_OPTIONS["lto"]) then
flags { "LinkTimeOptimization" }
end
+ filter "configurations:Vanilla"
+ defines { "VANILLA_DEFINES" }
+
filter { "platforms:win*" }
system "windows"