Sorry to ask such a basic question, but how do I get CW10 to set certain #defines (with -D XXX) when building a project?
I've imported an old project and can't even find where they are set for that (though they are correctly set).
They aren't in the command line "advanced" options for the preprocessor even, though it seems I can set them there by hand.
In case the question is not clear, here's the CW7.2 dialog I'm looking for the equivalent of in CW10...
When I import my project, these settings are preserved (both MCF52259 and STICKOS are defined when I build), but I can't find where they are in the IDE (or how I can change them).
Does anyone know if this was fixed in 10.2?
I still can't find a way to do it other than "Other flags".
More importantly, if I import a project that had #defines from CW7, I can't find where the #defines are stored in CW10, so I can't edit them or delete them (they don't show up in "Other flags").
Yes, I can *add* to them with "Other flags", but that doesn't really help -- it makes import unusable for me.
Maybe I will answer my own question -- you can edit the *.prefix file!!!
It is still not available in the GUI, but at least it is editable -- and my guess is the *.prefix file must be checked into source control!