2018-07-03 16:35:00 +02:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
|
2018-07-05 16:29:43 +02:00
|
|
|
project(KIMA2)
|
|
|
|
|
2018-07-03 16:35:00 +02:00
|
|
|
if(MSVC)
|
|
|
|
add_compile_options(/W4 /WX)
|
|
|
|
else()
|
|
|
|
add_compile_options(-W -Wall -Werror)
|
|
|
|
endif()
|
2018-07-05 16:29:43 +02:00
|
|
|
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
|
|
|
|
|
|
|
add_subdirectory(src)
|