preprocessor macros

9 views
Skip to first unread message

raul

unread,
Jan 6, 2012, 5:37:12 PM1/6/12
to Vendor
Hi!
i'm trying to build a new vendorspec but i need to specify a
preprocessor in my configuration, so how can i specify a preprocessor
macros in my .vendorspec file??? i'd like to add a new variable in the
DEBUG and RELEASE configs
something like:

Preprocessor Macro = LOGGING=1 for within the debug configurtion
Preprocessor Macro = LOGGING=0 for within the release configuration

cheers.

Keith Pitt

unread,
Jan 17, 2012, 5:04:42 PM1/17/12
to vendo...@googlegroups.com
Try something like this:


s.build_setting  "GCC_PREPROCESSOR_DEFINITIONS", "SOMETHING=1"


-- 
Keith Pitt

Reply all
Reply to author
Forward
0 new messages