[CMake] how to add capability to generate preprocessed and
not-yet-compiled files ?
Alexander Neundorf
a.neundorf-work at gmx.net
Fri Jul 7 03:00:06 EDT 2006
Hi,
it would be nice if it would be possible to have for each object file also a target which only preprocesses the file and one which preprocesses and compiles, but not assembles the file (so that you get the assembler code).
Is there a way to do this with macros ?
I almost think this would have to be done in cmake itself. Probably somewhere where the object rules are created additionally for each object the same rule but with "-E" instead of "-c" would have to be created. It wouldn't be required to be executed on all, just on direct invocation:
make foo.o/pre
make foo.o/as
What do you think about this ?
Would you accept a patch ?
Bye
Alex
--
"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the CMake
mailing list