[CMake] Non existent / new file handling

John Drescher drescherjm at gmail.com
Fri Mar 13 13:00:57 EDT 2009


Is there a way to have cmake automatically create empty missing source
files instead of failing?

Basically I when I need to add new files I add new entries to my
CMakeLists.txt file then I have to go to the shell and touch on each
file I add so that cmake will not fail to regenerate the project.

Thanks in Advance,
John M. Drescher


More information about the CMake mailing list