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

@@ -28,7 +28,7 @@ elif str(platform) == "posix":
pced = env.Program("#build/bin/BoE Character Editor", pced_sources + party_classes + 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 = pced[0].abspath.replace('.exe', '.pdb')
if str(platform) == "darwin":