summaryrefslogtreecommitdiffstats
path: root/o3d/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/build/common.gypi')
-rw-r--r--o3d/build/common.gypi14
1 files changed, 14 insertions, 0 deletions
diff --git a/o3d/build/common.gypi b/o3d/build/common.gypi
index 08f3906..0d0f714 100644
--- a/o3d/build/common.gypi
+++ b/o3d/build/common.gypi
@@ -10,6 +10,7 @@
'antlrdir': 'third_party/antlr3',
'breakpaddir': 'breakpad/src',
'fcolladadir': 'third_party/fcollada/files',
+ 'glewdir': 'third_party/glew/files',
'gtestdir': 'testing/gtest/include',
'jpegdir': 'third_party/libjpeg',
'nacldir': 'third_party/native_client/googleclient',
@@ -39,6 +40,7 @@
'_CRT_SECURE_NO_WARNINGS',
'RENDERER_D3D9',
'OS_WIN',
+ 'UNICODE',
'NACL_WINDOWS',
],
'msvs_disabled_warnings': [4355],
@@ -62,7 +64,19 @@
'defines': [
'RENDERER_GL',
'OS_MACOSX',
+ 'UNICODE',
+ 'GTEST_NOT_MAC_FRAMEWORK_MODE',
+ 'NACL_OSX=1',
+ 'MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4',
+ 'SK_BUILD_FOR_MAC',
],
+ 'xcode_settings': {
+ 'CFLAGS': ['-gstabs+',
+ '-fno-eliminate-unused-debug-symbols',
+ '-mmacosx-version-min=1.4'],
+ 'WARNING_CXXFLAGS': ['-Wstrict-aliasing',
+ '-Wno-deprecated'],
+ },
},
},
],