cmake_minimum_required(VERSION 3.2.0) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) set(CMAKE_CXX_STANDARD 17) project(mazerator_project CXX) file(GLOB SOURCES src/*.cpp) add_executable(mazerator ${SOURCES}) find_package(fmt) target_link_libraries(mazerator fmt::fmt) target_compile_features(mazerator PUBLIC cxx_std_17) target_compile_options(mazerator PRIVATE -Werror -Wall -Wextra)