I have a very simple CMakeLists.txt with a single C++ executable:
CMakeLists.txt
... set libraries here add_executable(main main.cpp)
I