|
@@ -199,6 +199,7 @@ def configure_msvc(env, manual_msvc_config):
|
|
elif env["target"] == "debug":
|
|
elif env["target"] == "debug":
|
|
env.AppendUnique(CCFLAGS=["/Zi", "/FS", "/Od", "/EHsc"])
|
|
env.AppendUnique(CCFLAGS=["/Zi", "/FS", "/Od", "/EHsc"])
|
|
env.AppendUnique(CPPDEFINES=["DEBUG_ENABLED"])
|
|
env.AppendUnique(CPPDEFINES=["DEBUG_ENABLED"])
|
|
|
|
+ env.AppendUnique(CPPDEFINES=["DEV_ENABLED"])
|
|
env.Append(LINKFLAGS=["/SUBSYSTEM:CONSOLE"])
|
|
env.Append(LINKFLAGS=["/SUBSYSTEM:CONSOLE"])
|
|
env.Append(LINKFLAGS=["/DEBUG"])
|
|
env.Append(LINKFLAGS=["/DEBUG"])
|
|
|
|
|
|
@@ -334,6 +335,7 @@ def configure_mingw(env):
|
|
elif env["target"] == "debug":
|
|
elif env["target"] == "debug":
|
|
env.Append(CCFLAGS=["-g3"])
|
|
env.Append(CCFLAGS=["-g3"])
|
|
env.Append(CPPDEFINES=["DEBUG_ENABLED"])
|
|
env.Append(CPPDEFINES=["DEBUG_ENABLED"])
|
|
|
|
+ env.Append(CPPDEFINES=["DEV_ENABLED"])
|
|
|
|
|
|
## Compiler configuration
|
|
## Compiler configuration
|
|
|
|
|