Defining Preprocessor Macros in AppCode Follow
Hi everyone,
I am trying to define a preprocessor macro in AppCode, but I cannot figure out how to do it.
Here is what I am doing:
In Run->Edit Configurations I am entering "-DMC_DEBUG" (minus the double quotes) into the "Environment Variables" window into the "Name" column, after having clicked on the "+" sign to add a now entry. I am setting the value to "1" (again minus the double quotes). But this does not seem to work.
I have been trying to leave out the "-D" and just entered "MC_DEBUG" into the names column, but this did not help either.
Where do I go wrong? Your help will be very much appreciated.
Please sign in to leave a comment.
Currently, AppCode doesn't offer ability to configure project's build settings (including preprocessor macros).
Please follow http://youtrack.jetbrains.net/issue/OC-835