View Full Version : Add an include path for xcode
Jul 30, 2009, 03:57 PM
How do I add these for xcode:
1. The include path(s)
Jul 30, 2009, 04:16 PM
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
Aug 11, 2009, 10:32 AM
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.