summaryrefslogtreecommitdiff
path: root/macosx
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-11 17:00:20 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-04-11 17:00:20 -0400
commite6324fa903f1e0c34605891ba9c124553a28156f (patch)
tree6907b69fd7e8a139ca45c27505d8743030bde812 /macosx
parent5f84bc7c29b8ab3f875a99a853326fc3004bb09b (diff)
downloadqtlocation-mapboxgl-e6324fa903f1e0c34605891ba9c124553a28156f.tar.gz
cleanup mac gyp file
Diffstat (limited to 'macosx')
-rw-r--r--macosx/llmr-app.gyp69
1 files changed, 28 insertions, 41 deletions
diff --git a/macosx/llmr-app.gyp b/macosx/llmr-app.gyp
index 069f5bb80f..dd6f29c5bf 100644
--- a/macosx/llmr-app.gyp
+++ b/macosx/llmr-app.gyp
@@ -5,49 +5,36 @@
],
'targets': [
{
- "target_name": "osxapp",
- "product_name": "llmr",
- "type": "executable",
- "sources": [
- "./main.mm",
- "./settings.mm",
- "./settings.hpp"
+ 'target_name': 'osxapp',
+ 'product_name': 'llmr',
+ 'type': 'executable',
+ 'sources': [
+ './main.mm',
+ './settings.mm',
+ './settings.hpp'
+ ],
+ 'product_extension': 'app',
+ 'mac_bundle': 1,
+ 'mac_bundle_resources': [
+ 'Icon.icns',
+ ],
+ 'xcode_settings': {
+ 'SDKROOT': 'macosx',
+ 'SUPPORTED_PLATFORMS':'macosx',
+ 'OTHER_CPLUSPLUSFLAGS': [
+ '<@(glfw3_cflags)'
],
- 'product_extension': 'app',
- 'mac_bundle': 1,
- 'mac_bundle_resources': [
- 'Icon.icns',
+ 'OTHER_LDFLAGS': [
+ '<@(glfw3_libraries)',
],
- 'link_settings': {
- 'libraries': [
- '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
- '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
- '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
- '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
- ],
- },
- 'xcode_settings': {
- 'ARCHS': [ "x86_64" ],
- 'SDKROOT': 'macosx',
- 'SUPPORTED_PLATFORMS':'macosx',
- 'OTHER_CPLUSPLUSFLAGS':[
- '<@(glfw3_cflags)'
- ],
- 'OTHER_LDFLAGS': [
- '-stdlib=libc++',
- '<@(glfw3_libraries)',
- ],
- 'SDKROOT': 'macosx',
- 'INFOPLIST_FILE': 'Info.plist',
- 'CLANG_CXX_LIBRARY': 'libc++',
- 'CLANG_CXX_LANGUAGE_STANDARD':'c++11',
- 'MACOSX_DEPLOYMENT_TARGET':'10.9',
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'CLANG_ENABLE_OBJC_ARC': 'YES'
- },
- "dependencies": [
- "../llmr.gyp:llmr-x86"
- ]
+ 'SDKROOT': 'macosx',
+ 'INFOPLIST_FILE': 'Info.plist',
+ 'MACOSX_DEPLOYMENT_TARGET':'10.9',
+ 'CLANG_ENABLE_OBJC_ARC': 'YES'
+ },
+ 'dependencies': [
+ '../llmr.gyp:llmr-x86'
+ ]
}
]
} \ No newline at end of file