From 0d5f11ca29aba713d2b61b74441795385d8c45ee Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Mon, 18 May 2020 13:13:51 +0100 Subject: [PATCH] Export preprocessor macros in Xcode project --- waflib/extras/xcode6.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waflib/extras/xcode6.py b/waflib/extras/xcode6.py index 0d04837c..24f0d159 100644 --- a/waflib/extras/xcode6.py +++ b/waflib/extras/xcode6.py @@ -570,7 +570,8 @@ def process_xcode(self): 'OTHER_LDFLAGS': libs + ' ' + frameworks + ' ' + ' '.join(bld.env['LINKFLAGS']), 'OTHER_CPLUSPLUSFLAGS': Utils.to_list(self.env['CXXFLAGS']), 'OTHER_CFLAGS': Utils.to_list(self.env['CFLAGS']), - 'INSTALL_PATH': [] + 'INSTALL_PATH': [], + 'GCC_PREPROCESSOR_DEFINITIONS': self.env['DEFINES'] } # Install path