diff options
author | Dane Springmeyer <dane@dbsgeo.com> | 2014-02-03 14:32:00 -0800 |
---|---|---|
committer | Dane Springmeyer <dane@dbsgeo.com> | 2014-02-03 14:32:00 -0800 |
commit | b8d9f7704facd03e6549d32ee2d05708ce5e7d14 (patch) | |
tree | 5ab8642a9b788e966475f53ddbc6431a770e9440 /common.gypi | |
parent | 1295ebc70545d0210568a1f54cc2133fcd6b722e (diff) | |
download | qtlocation-mapboxgl-b8d9f7704facd03e6549d32ee2d05708ce5e7d14.tar.gz |
switch build system to gyp
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi new file mode 100644 index 0000000000..e46cc2af5a --- /dev/null +++ b/common.gypi @@ -0,0 +1,28 @@ +{ + 'target_defaults': { + 'default_configuration': 'Release', + 'xcode_settings': { + 'CLANG_CXX_LIBRARY': 'libc++', + 'CLANG_CXX_LANGUAGE_STANDARD':'c++11', + 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', + 'ONLY_ACTIVE_ARCH': 1 + }, + 'cflags':['-std=c++11'], + 'configurations': { + 'Debug': { + 'cflags': [ '-g', '-O0', '-I<(boost_root)/include' ], + 'defines': [ 'DEBUG' ], + 'xcode_settings': { + 'OTHER_CPLUSPLUSFLAGS': [ '-g', '-I<(boost_root)/include' ] + } + }, + 'Release': { + 'cflags': [ '-O3', '-I<(boost_root)/include' ], + 'defines': [ 'NDEBUG' ], + 'xcode_settings': { + 'OTHER_CPLUSPLUSFLAGS': [ '-I<(boost_root)/include' ] + } + } + } + } +}
\ No newline at end of file |