Comment cleanup
[centerim5.git] / CMakeLists.txt
blobe821c8ce96ab84922406186abe7cee09d88cd61b
1 project(centerim5)
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)
23 add_subdirectory(src)
24 add_subdirectory(tests)
25 add_subdirectory(plugins)
26 add_subdirectory(po)
27 add_subdirectory(doc)