summaryrefslogtreecommitdiffstats
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-26 11:30:46 +0100
commit3948a1f726fa4ea2d02a895257ec391152e36882 (patch)
treef76ba187081e6d627e1df6c638200ce532bff89e /premake5.lua
parentUpdate OpenAL (diff)
downloadre3-3948a1f726fa4ea2d02a895257ec391152e36882.tar
re3-3948a1f726fa4ea2d02a895257ec391152e36882.tar.gz
re3-3948a1f726fa4ea2d02a895257ec391152e36882.tar.bz2
re3-3948a1f726fa4ea2d02a895257ec391152e36882.tar.lz
re3-3948a1f726fa4ea2d02a895257ec391152e36882.tar.xz
re3-3948a1f726fa4ea2d02a895257ec391152e36882.tar.zst
re3-3948a1f726fa4ea2d02a895257ec391152e36882.zip
Diffstat (limited to '')
-rw-r--r--premake5.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index a1a7f1dc..f2e6a71f 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -65,7 +65,7 @@ end
workspace "reVC"
language "C++"
- configurations { "Debug", "Release" }
+ configurations { "Debug", "Release", "Vanilla" }
startproject "reVC"
location "build"
symbols "Full"
@@ -113,13 +113,16 @@ workspace "reVC"
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"