From b8d9f7704facd03e6549d32ee2d05708ce5e7d14 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 3 Feb 2014 14:32:00 -0800 Subject: switch build system to gyp --- common.gypi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 common.gypi (limited to 'common.gypi') 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 -- cgit v1.2.1