add Vanilla config to premake and premake CI

This commit is contained in:
withmorten
2021-01-24 17:06:50 +01:00
parent c5ff13abca
commit 3948a1f726
3 changed files with 7 additions and 4 deletions

View File

@ -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"