Xcode/GCC predefined macro for target name?
Posted
by Justicle
on Stack Overflow
See other posts from Stack Overflow
or by Justicle
Published on 2009-09-16T04:22:57Z
Indexed on
2010/05/27
10:01 UTC
Read the original article
Hit count: 254
I was wondering if there is an Xcode or GCC preprocessor symbol for the target name of the application.
For example if I'm building an application called "MonkeyChicken", is there a preprocessor symbol such that
printf( __TARGET_NAME__ )
outputs:
MonkeyChicken
© Stack Overflow or respective owner