mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Never strip binaries automatically
Striping is trivial, getting the debug symbols if premake just strips them silently is a pain tho. Stripping should optionally be done during install, as we don't have an install target nor an install-strip target, make it a configure option which is off by default. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
b3de44c37d
commit
1fac3461f9
1 changed files with 4 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ newoption { category = "Pyrogenesis", trigger = "outpath", description = "Locati
|
|||
newoption { category = "Pyrogenesis", trigger = "sanitize-address", description = "Enable ASAN if available" }
|
||||
newoption { category = "Pyrogenesis", trigger = "sanitize-thread", description = "Enable TSAN if available" }
|
||||
newoption { category = "Pyrogenesis", trigger = "sanitize-undefined-behaviour", description = "Enable UBSAN if available" }
|
||||
newoption { category = "Pyrogenesis", trigger = "strip-binaries", description = "Strip created binaries" }
|
||||
newoption { category = "Pyrogenesis", trigger = "with-system-cxxtest", description = "Search standard paths for cxxtest, instead of using bundled copy" }
|
||||
newoption { category = "Pyrogenesis", trigger = "with-lto", description = "Enable Link Time Optimization (LTO)" }
|
||||
newoption { category = "Pyrogenesis", trigger = "with-system-mozjs", description = "Search standard paths for libmozjs115, instead of using bundled copy" }
|
||||
|
|
@ -187,7 +188,9 @@ function project_set_build_flags()
|
|||
|
||||
editandcontinue "Off"
|
||||
|
||||
if not _OPTIONS["minimal-flags"] then
|
||||
if _OPTIONS['strip-binaries'] then
|
||||
symbols "Off"
|
||||
else
|
||||
symbols "On"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue