Build with -g, -O0 for specs
This commit is contained in:
parent
44774119bf
commit
0c4620f3ab
2 changed files with 14 additions and 1 deletions
|
|
@ -114,6 +114,9 @@
|
|||
'cflags_c': [
|
||||
'-std=c99'
|
||||
],
|
||||
'ldflags': [
|
||||
'-g',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'include'
|
||||
|
|
@ -127,6 +130,11 @@
|
|||
'configurations': {
|
||||
'Debug': {
|
||||
'cflags': [ '-g' ],
|
||||
'ldflags': [ '-g' ],
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': ['-g'],
|
||||
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||
},
|
||||
},
|
||||
'Release': {
|
||||
'cflags': [ '-O2', '-fno-strict-aliasing' ],
|
||||
|
|
|
|||
|
|
@ -59,11 +59,14 @@
|
|||
'-Wno-unknown-pragmas',
|
||||
],
|
||||
'cflags_c': [
|
||||
'-std=c99'
|
||||
'-std=c99',
|
||||
],
|
||||
'cflags_cc': [
|
||||
'-std=c++0x',
|
||||
],
|
||||
'ldflags': [
|
||||
'-g',
|
||||
],
|
||||
|
||||
'variables': {
|
||||
'USE_LIBPROFILER%': 'true',
|
||||
|
|
@ -76,6 +79,8 @@
|
|||
|
||||
'xcode_settings': {
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
|
||||
'OTHER_LDFLAGS': ['-g'],
|
||||
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wall',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue