Adding Custom Compilation Flags in XCode
I just found out how to add additional compilation Flags in XCode. It may looks stupid, but I couldn’t find it anywhere couple days ago
.
Basically just do “Get Info” on a project / target, and add user defined settings with this value :
OTHER_CFLAGS and set the additional compilation flags : -DTARGET_OS_X -DMUDI_DEBUG
edit:
another additional flags : GCC_PREFIX_HEADER to specify your precompiled header – useful for static library
Tags: xcodecompilation flags