Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

eddyq

macrumors member
Original poster
Jun 10, 2009
96
0
How do I add these for xcode:

1. The include path(s)
2. Defines
 
Look at your Project/Target settings:
1) Additional "include paths" can be specified in the Search Paths section
2) Additional "defines" can be specified in Other C Flags / Other C++ Flags. E.g., -DDEBUG
 
I finally found a friend with an answer for the defines. This is what he said:

In the Build settings tab of the Project Info or Target Info screens, edit the "Preprocessor Macros" setting. Don't include the -D, just the MACRO=value part. If you do it in the Project settings, it will apply to all targets in the project. If you edit the target settings it will apply to just that target.

Be sure to set the right configuration (Debug or Release, or pick All Configurations) depending on what you are trying to do.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.