kerstezel-klant/CMakeLists.txt

15 lines
330 B
CMake
Raw Permalink Normal View History

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})