Hi, Apart from finding a post which says 'this has been discussed before', I haven't found much information on if/how I can run perform a pre-make stage on my uV2.40 project. I want to run a dos command/batch file to perform a purge of all unrequired file types prior to the building of my project. Is there any way of achieving this? David
Therefore, in this case, you might want to set VAREXT.EXE to 'Exclude From Build', and only manually change it to 'Include In Build' when you specifically want to re-generate the includes. Or just keep it excluded from the build, and just use the "compile this file" function on it, which should be a lot easier. Or make the tool a bit more intelligent by having it compare its output with the previous state, so it can avoid touching files that diddn't change. Of course, this rather defeats the object of having it in the Project to start with! Not necessarily. Having the name of that file in the project list still helps to keep things organized. Around here, e.g., we tend to keep an informal TODO list file (in its own source group, and excluded from builds) as part of the project, just to have it close at hand.
"Or just keep it excluded from the build, and just use the 'compile this file' function on it" When I was actually trying this, it didn't work - the 'compile this file' function was greyed-out by excluding a file from the build! :-( I think I moaned about this to Keil at the time - so perhaps it's changed now? "Having the name of that file in the project list still helps to keep things organized." Yes, I totally agree! "we tend to keep an informal TODO list file ... as part of the project, just to have it close at hand." Ages ago, Borland Turbo-C used to have a feature called "Project Notes" to do exactly that sort of thing. It was extremely useful!