Separate names with a comma.
Discussion in 'Mac Programming' started by eddyq, Jul 30, 2009.
How do I add these for xcode:
1. The include path(s)
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.