diff options
author | Dane Springmeyer <dane@dbsgeo.com> | 2014-02-03 15:40:56 -0800 |
---|---|---|
committer | Dane Springmeyer <dane@dbsgeo.com> | 2014-02-03 15:40:56 -0800 |
commit | b895711b01f60437727b94eb75383304e9c09347 (patch) | |
tree | a38e2855a627088e55577aae903e520a4c89caec /llmr.gyp | |
parent | 0052211278c7f7e4ec976ac87467bc5a5cd159f7 (diff) | |
download | qtlocation-mapboxgl-b895711b01f60437727b94eb75383304e9c09347.tar.gz |
png is a new dependency in sprite.cpp - add it to build system
Diffstat (limited to 'llmr.gyp')
-rw-r--r-- | llmr.gyp | 37 |
1 files changed, 22 insertions, 15 deletions
@@ -6,44 +6,46 @@ 'targets': [ { 'target_name': 'llmr-osx', - 'product_name': 'libllmr-osx', + 'product_name': 'llmr-osx', 'type': 'static_library', 'sources': [ '<!@(find src -name "*.cpp")', '<!@(find include -name "*.hpp")' ], + 'libraries': [ + '<@(png_libraries)', + ], 'xcode_settings': { 'SDKROOT': 'macosx', 'SUPPORTED_PLATFORMS':'macosx', 'MACOSX_DEPLOYMENT_TARGET':'10.8', 'PUBLIC_HEADERS_FOLDER_PATH': 'include' }, - 'conditions': [ - ['OS == "mac"', { - 'link_settings': { - 'libraries': [ - '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', - ], - }, - }], - ], 'include_dirs':[ - './include' + './include', + '<@(png_cflags)' ], 'direct_dependent_settings': { 'include_dirs':[ - './include' + './include', + '<@(png_cflags)' ], + 'libraries': [ + '<@(png_libraries)', + ] } }, { 'target_name': 'llmr-ios', - 'product_name': 'libllmr-ios', + 'product_name': 'llmr-ios', 'type': 'static_library', 'sources': [ '<!@(find src -name "*.cpp")', '<!@(find include -name "*.hpp")' ], + 'libraries': [ + '<@(png_libraries)', + ], 'xcode_settings': { 'SDKROOT': 'iphoneos', 'SUPPORTED_PLATFORMS':'iphonesimulator iphoneos', @@ -53,12 +55,17 @@ 'PUBLIC_HEADERS_FOLDER_PATH': 'include' }, 'include_dirs':[ - './include' + './include', + '<@(png_cflags)' ], 'direct_dependent_settings': { 'include_dirs':[ - './include' + './include', + '<@(png_cflags)' ], + 'libraries': [ + '<@(png_libraries)', + ] } } ] |