|
|
@ -12,6 +12,7 @@
|
|
|
|
# RuntimeLibrary MUST MATCH across the entire project
|
|
|
|
# RuntimeLibrary MUST MATCH across the entire project
|
|
|
|
'Debug': {
|
|
|
|
'Debug': {
|
|
|
|
'defines': [ 'DEBUG', '_DEBUG' ],
|
|
|
|
'defines': [ 'DEBUG', '_DEBUG' ],
|
|
|
|
|
|
|
|
'cflags': [ '-Wall', '-Wextra', '-O0', '-g', '-ftrapv' ],
|
|
|
|
'msvs_settings': {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
'RuntimeLibrary': 1, # static debug
|
|
|
|
'RuntimeLibrary': 1, # static debug
|
|
|
@ -20,6 +21,7 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'Release': {
|
|
|
|
'Release': {
|
|
|
|
'defines': [ 'NDEBUG' ],
|
|
|
|
'defines': [ 'NDEBUG' ],
|
|
|
|
|
|
|
|
'cflags': [ '-Wall', '-Wextra', '-O3' ],
|
|
|
|
'msvs_settings': {
|
|
|
|
'msvs_settings': {
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
'VCCLCompilerTool': {
|
|
|
|
'RuntimeLibrary': 0, # static release
|
|
|
|
'RuntimeLibrary': 0, # static release
|
|
|
|