mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:23:47 +00:00
Use -Og or equivalent for debug builds
Unless minimal cflags is set add -Og or equivalent to CXXFLAGS for debug build configuration. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -188,6 +188,11 @@ function project_set_build_flags()
|
||||
filter { "Debug", "action:vs*" }
|
||||
defines { "DEBUG" }
|
||||
|
||||
filter { "Debug" }
|
||||
if os.istarget("windows") or not _OPTIONS["minimal-flags"] then
|
||||
optimize "Debug"
|
||||
end
|
||||
|
||||
filter "Release"
|
||||
if os.istarget("windows") or not _OPTIONS["minimal-flags"] then
|
||||
optimize "Speed"
|
||||
|
||||
Reference in New Issue
Block a user