CMake: Report an error if there is an unknown .cpp file in a source
authorOscar Fuentes <ofv@wanadoo.es>
Mon, 2 Nov 2009 19:11:03 +0000 (19:11 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Mon, 2 Nov 2009 19:11:03 +0000 (19:11 +0000)
commitd442ab87b38a5e1359490edb78102ffc3e742017
tree640a4d5918dc42df6cf9292e3948546554074e2e
parentbc117b83f6f646c55a98a5b408e0b1dfcacc275e
CMake: Report an error if there is an unknown .cpp file in a source
directory.

This is useful in case someone who works with the config&make build
system forgot to add a file to its CMakeLists.txt. Instead of
obtaining undefined references at link time, cmake will complain at
configure time on the first build after a svn update.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85817 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMProcessSources.cmake