You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.3 KiB
61 lines
1.3 KiB
1 month ago
|
{
|
||
|
'variables': {
|
||
|
'sqlite_version%':'3340000',
|
||
|
"toolset%":'',
|
||
|
},
|
||
|
'target_defaults': {
|
||
|
'default_configuration': 'Release',
|
||
|
'conditions': [
|
||
|
[ 'toolset!=""', {
|
||
|
'msbuild_toolset':'<(toolset)'
|
||
|
}]
|
||
|
],
|
||
|
'configurations': {
|
||
|
'Debug': {
|
||
|
'defines!': [
|
||
|
'NDEBUG'
|
||
|
],
|
||
|
'cflags_cc!': [
|
||
|
'-O3',
|
||
|
'-Os',
|
||
|
'-DNDEBUG'
|
||
|
],
|
||
|
'xcode_settings': {
|
||
|
'OTHER_CPLUSPLUSFLAGS!': [
|
||
|
'-O3',
|
||
|
'-Os',
|
||
|
'-DDEBUG'
|
||
|
],
|
||
|
'GCC_OPTIMIZATION_LEVEL': '0',
|
||
|
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES'
|
||
|
},
|
||
|
'msvs_settings': {
|
||
|
'VCCLCompilerTool': {
|
||
|
'ExceptionHandling': 1, # /EHsc
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
'Release': {
|
||
|
'defines': [
|
||
|
'NDEBUG'
|
||
|
],
|
||
|
'xcode_settings': {
|
||
|
'OTHER_CPLUSPLUSFLAGS!': [
|
||
|
'-Os',
|
||
|
'-O2'
|
||
|
],
|
||
|
'GCC_OPTIMIZATION_LEVEL': '3',
|
||
|
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
|
||
|
'DEAD_CODE_STRIPPING': 'YES',
|
||
|
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES'
|
||
|
},
|
||
|
'msvs_settings': {
|
||
|
'VCCLCompilerTool': {
|
||
|
'ExceptionHandling': 1, # /EHsc
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|