This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

conditional compile extraction

Conditional compile/assembly is a great means of having several (somewhat) similar products generated from the same source. I guarantees that if you fix a problem it will be fixed globally, one verison will not be forgotten. I am very much a proponent of conditionals in product series code. That much said, it sometimes makes it very difficult to read/follow the flow of a version of program. Is there a means in the Keil tools of creating a "clean source" for a given version i. e. a source with all ifdefs removed and only the lines that will be compiled for this version left?. If not, does anyone know of a program that will do that?.

0