I would like to use "run user program before" or some such to set a #define from one place in several builds i.e. build #1 will pick the #define from 'x' build #2 will also pick the #define from 'x' an example: ONE place to define whether want "debug' or "production" mode which will affect both the build of boot and app.
I do not know if I make myself crystal clear, but if not, do ask.
currently this is accomplished with sepaarte defines and too many mistakes happen.
BTW it would be absolutotally wondeful if the above also could affect a .bat file run in "run user program after"
Erik
Ah, the captain is back!
Maybe different project targets can solve this problem...?
I find that it's enough to open the settings for the target and create one #define there that tells what target.
Then I can modulate any conditional compilation based on that one setting.
Bad thing with running a program is also that it creates a new file with new timestamp, that will recursively force everything to rebuild because of dependancy rules.
No, no - I believe they let the delusionals use the internet as part of their therapy these days. Something to do with spreading the treatment burden across society...