Currently, if a source file such as "algorithms/max_cliques" in CMakeLists.txt has a typo such as "algorithms/max_clicks", CMake happily accepts it and then the build breaks. This is because the CMake scripts check for "algorithms/max_clicks.h" and "algorithms/max_clicks.cc" individually and adds the files that exist. I think we should exit with an error message if neither of the two files exists.
|