aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
blob: 64efa33d9bdd687515f51ae2ee2fd2a02dd1e72d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required(VERSION 3.19) # for COMMAND_ERROR_IS_FATAL

project(cimple VERSION 0.0.1 LANGUAGES C)

enable_testing()

add_compile_options(-std=c17 -Wpedantic -Wall -Wextra)
add_compile_options($<$<NOT:$<CONFIG:Debug>>:-Werror>)

add_subdirectory(src)
add_subdirectory(test)

install(FILES LICENSE.txt DESTINATION "share/doc/${PROJECT_NAME}")