Tyler Roscoe wrote: > I don't know how to run the preprocessor by itself. If all you are > trying to do is write out a file containing the contents of entry_1 ... > entry_n, I wouldn't bother with the preprocessor;
Unfortunately not, the primary goal is to generate a preprocessed source file. The entry list is just a way to inform the compiler about the input files involved. The task is easy on its own, i.e. run gcc with -E, but it must be invoked with exactly the same CMake-generated parameters as during regular object compilation. But this is far beyond my knowledge of CMake. Best regards Piotr Wyderski _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake