I want to run a tool between pre-processor and compiler. I it possible somehow with the Keil Tool Chain, Keil IDE, to run the pre-processor, a tool that changes the preprocessed code and then the compiler?
No, there is no built-in option in MDK uVision to do this. The only options supported are defined in "Options for Target - User"