diff options
author | withmorten <morten.with@gmail.com> | 2021-07-12 04:13:42 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-07-12 04:26:27 +0200 |
commit | 2f7ae611edb389330d1022102aac4b7ce3e5709b (patch) | |
tree | e0d602eaabf7a68f7ff04eceeecdcdbc542029d0 /premake5.lua | |
parent | Reorganize config.h (diff) | |
download | re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar.gz re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar.bz2 re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar.lz re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar.xz re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.tar.zst re3-2f7ae611edb389330d1022102aac4b7ce3e5709b.zip |
Diffstat (limited to '')
-rw-r--r-- | premake5.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/premake5.lua b/premake5.lua index 69090d49..2535a53e 100644 --- a/premake5.lua +++ b/premake5.lua @@ -68,7 +68,7 @@ end workspace "reVC"
language "C++"
- configurations { "Debug", "Release", "Vanilla" }
+ configurations { "Debug", "Release" }
startproject "reVC"
location "build"
symbols "Full"
@@ -80,6 +80,7 @@ workspace "reVC" end
filter { "system:windows" }
+ configurations { "Vanilla" }
platforms {
"win-x86-RW34_d3d8-mss",
"win-x86-librw_d3d9-mss",
@@ -123,9 +124,6 @@ workspace "reVC" flags { "LinkTimeOptimization" }
end
- filter "configurations:Vanilla"
- defines { "VANILLA_DEFINES" }
-
filter { "platforms:win*" }
system "windows"
@@ -305,6 +303,9 @@ project "reVC" includedirs { "src/weapons" }
includedirs { "src/extras" }
+ filter "configurations:Vanilla"
+ defines { "VANILLA_DEFINES" }
+
if(not _OPTIONS["no-git-hash"]) then
defines { "USE_OUR_VERSIONING" }
end
|