15 lines
330 B
CMake
15 lines
330 B
CMake
|
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})
|