libcruft-util/CMakeLists.txt

31 lines
622 B
CMake

cmake_minimum_required(VERSION 3.7.0)
project(util-cruft LANGUAGES CXX C)
include (nc)
include(CheckFunctionExists)
include(CheckCXXCompilerFlag)
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
include (search_libs)
add_subdirectory ("cruft/util")
add_subdirectory ("test")
add_subdirectory ("tools")
###############################################################################
configure_file(libcruft.pc.in libcruft.pc @ONLY)
install (
FILES
"${CMAKE_CURRENT_BINARY_DIR}/libcruft.pc"
DESTINATION
"share/pkgconfig"
COMPONENT
development
)
configure_file(Doxyfile.in Doxyfile)