3 # CMAKE_CXX_STANDARD requires at least CMake 3.1.
4 cmake_minimum_required(VERSION 3.1)
6 set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
8 include(cmake/CMakeConfs.cmake)
10 # C++ code requires C++11.
11 set(CMAKE_CXX_STANDARD 11)
12 set(CMAKE_CXX_EXTENSIONS false)
13 set(CMAKE_CXX_STANDARD_REQUIRED true)
15 # Libtermkey requires C99.
16 set(CMAKE_C_STANDARD 99)
17 set(CMAKE_C_EXTENSIONS false)
18 set(CMAKE_C_STANDARD_REQUIRED true)
20 install(FILES centerim5.1 DESTINATION share/man/man1)
22 add_subdirectory(cppconsui)
24 add_subdirectory(tests)
25 add_subdirectory(plugins)