I can't see an option on the ARM compiler to keep the preprocessor output and do the compile.
I can see:
-E: Just do the preprocessing;
-C: as above, but keep comments;
-P: Just do the preprocessing, without #line markers.
But I can't see one to do the preprocessing and the compile.
ie, the equivalent of -save-temps for GCC
gcc.gnu.org/.../Debugging-Options.html
Is there such a thing for Keil/ARM?
Aha! There is a 'C Preprocessor Listing' option on the 'Listings' tab of the Project options.
Checking that option does as you say - for the whole project.
I was just looking at the options for a specific file, and there is no GUI setting there - hence manually adding the -C command-line option.
But the project-wide option will do just fine - many thanks!
:-)