2020-12-07 10:49:21 +00:00
|
|
|
set(CMAKE_MINIMUM_VERSION_REQUIRED 3.0)
|
|
|
|
project(kerstezel-klant)
|
|
|
|
|
|
|
|
if (MSVC)
|
|
|
|
add_compile_options(/W4 /WX)
|
|
|
|
else()
|
|
|
|
add_compile_options(-Wall -Wextra -pedantic -Werror)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(KERSTEZEL_SOURCES src/kerstezel.c)
|
|
|
|
set(KERSTEZEL_HEADERS src/kerstezel.h)
|
|
|
|
|
|
|
|
add_executable(kerstezel ${KERSTEZEL_SOURCES} ${KERSTEZEL_HEADERS})
|
2020-12-08 07:19:20 +00:00
|
|
|
install(TARGETS kerstezel DESTINATION sbin)
|