aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: fef9749750a8ef945ff6bac86f7e514be6c2d870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)