[CMake] Generating source files..

Shishir Ramam sramam at gmail.com
Tue May 24 19:10:39 EDT 2005


Hi, 

I'm trying to find a way to generate a source file from a CMakeLists file. 
WRITE_FILE is not allowed. CONFIGURE_FILE only does
a file copy. 

It would be good to be able to generate the source file from the 
CMakeLists.txt, since it allows greater control over what the source is.
Also, this has the positive effect of keeping all related code in a
single file.

Actually on thinking about this, not sure why this should result in 
an infinite loop. Perhaps someone in the know can explain?

thanks,
-shishir

-- 
The man who doesn't read good books has no advantage over the man who
can't read them. - Mark Twain


More information about the CMake mailing list