libcruft-util/CMakeLists.txt

31 lines
622 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.7.0)
project(util-cruft LANGUAGES CXX C)
include (nc)
2017-01-17 19:20:30 +11:00
include(CheckFunctionExists)
include(CheckCXXCompilerFlag)
include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
2017-01-17 19:20:30 +11:00
include (search_libs)
add_subdirectory ("cruft/util")
add_subdirectory ("test")
add_subdirectory ("tools")
2017-01-17 19:20:30 +11:00
###############################################################################
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)