Yes - for most settings (let me know if I've missed any!), it'll look for ${name_of_macro} and replace it with the preprocessor definition for that name.
Thanks, and where would I be able to find these macro names? In my case I am looking for a way to add a version number to a release binary, but I cannot find a name of a macro to do this.
I think I'm overlooking something easy, but I still do not get it to work. I tried the following:
In the general project settings I added VERSION_NUM=0.0.2 to the Preprocessor Definitions
Then I set the Project Version to $VERSION_NUM (I also tried ${VERSION_NUM}), (first i used VERSION_NUMBER as a macro, but there seemed to be a character limit)
Then in my XCode Release target I put Project_$VERSION_NUM as Binary Name
Then save
I expected the Info.plist and .xcodeproj to have 0.0.2 but instead I got a literal $VERSION_NUM (both with or without the curly brackets).
Like I said, not every value is checked for symbols like that, and the version number isn't. I can't really see what would be the advantage of setting a macro for the version when you could just type it into the version setting box? If you need something in your app to tell you what version is being compiled, there's already an auto-generated ProjectInfo::versionNumber value for that.
The best solution would probably be for the introjucer to automatically set a preprocessor macro based on the version number string, so you could just use that in your filename. I've no time to add that right now though.