mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07: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:
parent
b97f1233ad
commit
81171f3bb4
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue