diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-08-22 18:50:09 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-09-24 16:12:02 +0200 |
commit | 34fe7dc627f08d57ac259c383e248ddf2f6fb0d3 (patch) | |
tree | dddbde6891826329f92922409fbed6964d5e4e7e /mapboxgl.gyp | |
parent | ee3e0827a20492ba0f91c5c5f60cf24b2e49cb32 (diff) | |
download | qtlocation-mapboxgl-34fe7dc627f08d57ac259c383e248ddf2f6fb0d3.tar.gz |
add basic request caching with sqlite
Diffstat (limited to 'mapboxgl.gyp')
-rw-r--r-- | mapboxgl.gyp | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/mapboxgl.gyp b/mapboxgl.gyp index dcd89f3a76..49c4150aa1 100644 --- a/mapboxgl.gyp +++ b/mapboxgl.gyp @@ -126,23 +126,36 @@ '<!@(find src -name "*.glsl")', 'bin/style.json' ], - 'xcode_settings': { - 'SDKROOT': 'macosx', - 'SUPPORTED_PLATFORMS':['macosx'], - 'MACOSX_DEPLOYMENT_TARGET':'10.9', - 'PUBLIC_HEADERS_FOLDER_PATH': 'include', - 'OTHER_CPLUSPLUSFLAGS':[ - '<@(png_cflags)', - '<@(uv_cflags)', - '-I<(boost_root)/include', - ] - }, 'include_dirs':[ - './include' + './include' ], - 'cflags': [ - '<@(png_cflags)', - '-I<(boost_root)/include', + 'conditions': [ + ['OS == "mac"', { + 'xcode_settings': { + 'SDKROOT': 'macosx', + 'SUPPORTED_PLATFORMS':['macosx'], + 'MACOSX_DEPLOYMENT_TARGET':'10.9', + 'PUBLIC_HEADERS_FOLDER_PATH': 'include', + 'OTHER_CPLUSPLUSFLAGS':[ + '<@(png_cflags)', + '<@(uv_cflags)', + '<@(sqlite3_cflags)', + '-I<(boost_root)/include', + ], + 'OTHER_LDFLAGS': [ + '<(sqlite3_libraries)', + ], + }, + }, { + 'cflags': [ + '<@(png_cflags)', + '<@(sqlite3_cflags)', + '-I<(boost_root)/include', + ], + 'libraries': [ + '<@(sqlite3_libraries)', + ], + }] ], 'direct_dependent_settings': { 'include_dirs':[ @@ -205,8 +218,12 @@ 'OTHER_CPLUSPLUSFLAGS':[ '<@(png_cflags)', '<@(uv_cflags)', + '<@(sqlite3_cflags)', '-I<(boost_root)/include', - ] + ], + 'OTHER_LDFLAGS': [ + '<@(sqlite3_libraries)', + ], }, 'include_dirs':[ './include' @@ -214,8 +231,12 @@ 'cflags': [ '<@(png_cflags)', '<@(uv_cflags)', + '<@(sqlite3_cflags)', '-I<(boost_root)/include', ], + 'libraries': [ + '<@(sqlite3_libraries)', + ], 'direct_dependent_settings': { 'include_dirs':[ './include' |