Specify more xcode settings in gyp file
This commit is contained in:
parent
ae82b90fdb
commit
7b9fdaf73b
1 changed files with 31 additions and 4 deletions
|
|
@ -11,6 +11,28 @@
|
|||
'sources': [
|
||||
'<!@(find include src -name "*.h" -or -name "*.cpp")',
|
||||
],
|
||||
"conditions": [
|
||||
['OS == "mac"', {
|
||||
'xcode_settings': {
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
||||
'GCC_ENABLE_CPP_RTTI': 'YES',
|
||||
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO',
|
||||
},
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'include',
|
||||
],
|
||||
'conditions': [
|
||||
['OS == "mac"', {
|
||||
'xcode_settings': {
|
||||
'CLANG_CXX_LIBRARY': 'libc++',
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
||||
}
|
||||
}]
|
||||
],
|
||||
}
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'compiler_specs',
|
||||
|
|
@ -52,9 +74,14 @@
|
|||
'cflags_cc': [
|
||||
'-std=c++0x',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
|
||||
},
|
||||
"conditions": [
|
||||
['OS == "mac"', {
|
||||
'xcode_settings': {
|
||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||
'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
|
||||
'CLANG_CXX_LIBRARY': 'libc++',
|
||||
}
|
||||
}],
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue