replace the debug flag with a release flag

This commit is contained in:
2024-11-27 11:55:08 -06:00
committed by Celtic Minstrel
parent f3e83290cb
commit dd347a5f79
5 changed files with 17 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ elif str(platform) == "posix":
scened = env.Program("#build/bin/BoE Scenario Editor", scened_sources + common_sources)
debug_symbols = None
if str(platform) == "win32" and 'msvc' in env["TOOLS"] and env['debug']:
if str(platform) == "win32" and 'msvc' in env["TOOLS"] and not env['release']:
debug_symbols = scened[0].abspath.replace('.exe', '.pdb')
if str(platform) == "darwin":