Issue1117

Title let CMake check that source files exist
Priority wish Status chatting
Superseder Nosy List jendrik, malte, silvan
Assigned To Keywords
Optional summary

Created on 2023-10-02.22:50:59 by jendrik, last changed by silvan.

Messages
msg11405 (view) Author: malte Date: 2023-10-03.10:14:07
Sounds like a useful improvement if we can figure out how to do this. :-)
msg11403 (view) Author: jendrik Date: 2023-10-02.22:50:59
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.
History
Date User Action Args
2023-10-09 08:02:53silvansetnosy: + silvan
2023-10-03 10:14:07maltesetstatus: unread -> chatting
messages: + msg11405
2023-10-02 22:50:59jendrikcreate