diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-06-13 15:46:03 +0200 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-06-13 15:46:03 +0200 |
commit | e44e2fe070484e06d384a31ef2699c3a2d5d474e (patch) | |
tree | 2d5eb5d1b01646270d18cf1f2d94519966d6e7de /updater/sql/win/deps/common-sqlite.gypi | |
download | faunerie-e44e2fe070484e06d384a31ef2699c3a2d5d474e.tar.gz faunerie-e44e2fe070484e06d384a31ef2699c3a2d5d474e.tar.bz2 faunerie-e44e2fe070484e06d384a31ef2699c3a2d5d474e.zip |
GitHub migration
Diffstat (limited to 'updater/sql/win/deps/common-sqlite.gypi')
-rwxr-xr-x | updater/sql/win/deps/common-sqlite.gypi | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/updater/sql/win/deps/common-sqlite.gypi b/updater/sql/win/deps/common-sqlite.gypi new file mode 100755 index 0000000..a04b1d5 --- /dev/null +++ b/updater/sql/win/deps/common-sqlite.gypi @@ -0,0 +1,60 @@ +{ + 'variables': { + 'sqlite_version%':'3440200', + "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 + } + } + } + } + } +} |