[CMake] expand INCLUDE(...) in derective CMakeLists.txt files a'la gcc -e

Chen Levy mailist at chenlevy.com
Sun Nov 18 05:15:32 EST 2007


Hello, List.

I have a set of CMakeLists.txt file that uses the INCLUDE(...)
statement to tie them together.

I want to see the intermediary CMakeLists file that is the expansion
of all the INCLUDE(...)s into a single file, just like the gcc do with
the -e switch.

Is there a way to do that?

Google is no help here, because include is a highly overloaded word in
this context.
-- 
Cheers,
Chen.


More information about the CMake mailing list