1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- # ===
- # This configuration defines the differences between Release and Debug builds.
- # Some miscellaneous Windows settings are also defined here.
- # ===
- {
- 'variables': { 'sqlite3%': '' },
- 'target_defaults': {
- 'default_configuration': 'Release',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ExceptionHandling': 1,
- },
- },
- 'conditions': [
- ['OS == "win"', {
- 'defines': ['WIN32'],
- }],
- ],
- 'configurations': {
- 'Debug': {
- 'defines!': [
- 'NDEBUG',
- ],
- 'defines': [
- 'DEBUG',
- '_DEBUG',
- 'SQLITE_DEBUG',
- 'SQLITE_MEMDEBUG',
- 'SQLITE_ENABLE_API_ARMOR',
- 'SQLITE_WIN32_MALLOC_VALIDATE',
- ],
- 'cflags': [
- '-O0',
- ],
- 'xcode_settings': {
- 'MACOSX_DEPLOYMENT_TARGET': '10.7',
- 'GCC_OPTIMIZATION_LEVEL': '0',
- 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
- },
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- },
- 'Release': {
- 'defines!': [
- 'DEBUG',
- '_DEBUG',
- ],
- 'defines': [
- 'NDEBUG',
- ],
- 'cflags': [
- '-O3',
- ],
- 'xcode_settings': {
- 'MACOSX_DEPLOYMENT_TARGET': '10.7',
- 'GCC_OPTIMIZATION_LEVEL': '3',
- 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
- 'DEAD_CODE_STRIPPING': 'YES',
- 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
- },
- },
- },
- },
- }
|