summaryrefslogtreecommitdiffstats
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
parentFix CCollision::DistToLine (diff)
downloadre3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar.gz
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar.bz2
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar.lz
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar.xz
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.tar.zst
re3-d7c00841d646d8b4bd8395cb5d8b98dedfd2d730.zip
-rw-r--r--.github/workflows/re3_msvc_amd64.yml2
-rw-r--r--.github/workflows/re3_msvc_x86.yml2
-rw-r--r--premake5.lua7
3 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/re3_msvc_amd64.yml b/.github/workflows/re3_msvc_amd64.yml
index 63cea698..863e2f94 100644
--- a/.github/workflows/re3_msvc_amd64.yml
+++ b/.github/workflows/re3_msvc_amd64.yml
@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
platform: [win-amd64-librw_d3d9-oal, win-amd64-librw_gl3_glfw-oal]
- buildtype: [Debug, Release]
+ buildtype: [Debug, Release, Vanilla]
steps:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
diff --git a/.github/workflows/re3_msvc_x86.yml b/.github/workflows/re3_msvc_x86.yml
index 045c4ec8..ff9afb25 100644
--- a/.github/workflows/re3_msvc_x86.yml
+++ b/.github/workflows/re3_msvc_x86.yml
@@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
platform: [win-x86-librw_d3d9-mss, win-x86-librw_gl3_glfw-mss, win-x86-librw_d3d9-oal, win-x86-librw_gl3_glfw-oal]
- buildtype: [Debug, Release]
+ buildtype: [Debug, Release, Vanilla]
steps:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
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"