summaryrefslogtreecommitdiff
path: root/common.gypi
blob: a9e700c7b21b9d4c5415609f385f96e5627a301f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  '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',
    },
    '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' ]
        }
      }
    }
  }
}