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
Sorry, Erik, but you're really making just about no sense at all.
But let me ask: how does a simple header file fail to save that problem for you?
say I have 47 different projects say all have a local #define DEBUG
say that Joe (I am no better) always forget to change one or more #define DEBUG to //#define DEBUG when he builds for production
so, I would like to in one global place in some form or fashion make it so that all 47 projects build in either debug mode or production mode
Erik; Since you run most of your projects from the command line and batch files, then just write a TcL script to execute your project builds. Bradford
and they insist on the IDE :(
View all questions in Keil forum