1 2 3 4 5 6 7 8 9 10 11 12 13 14
cmake_minimum_required(VERSION 3.2.0) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS off) project(game-of-life CXX) add_subdirectory(lib) add_subdirectory(src) if(test) add_subdirectory(test) endif()