Sorry for the spam, it’s been a long day and I was editing the wrong target settings. It does indeed work to add under “preprocessor macros”: MY_MACRO=‘\”myString\”' which translates to -DMY_MACRO=\”myString\”
On 27 May 2015, at 17:23, Jonathan Taylor <[email protected]> wrote: > Google is failing me here: how do I define a preprocessor macro in Xcode that > represents a C string. In other words, I want something that will behave > equivalently to: > #define MY_MACRO “myString” > No combination of escaping and multi-quoting that I have tried prevents this > from translating into > -DMY_MACRO=myString > > Can anyone advise? > Cheers > Jonny _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
