cmake
CMakeLists.txt
$ mkdir build && cd build $ cmake ..
PROJECT(hello) ADD_EXECUTABLE(hello src/main.cpp src/joke.cpp src/message.cpp)