include_directories("${CMAKE_CURRENT_SOURCE_DIR}") add_executable(testing ./test-main.cpp ./test-algorithm.cpp ../src/algorithm.cpp ) set_target_properties(testing PROPERTIES LINKER_LANGUAGE CXX)