This repository has been archived on 2020-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
FediPotato/lib/CMakeLists.txt
tastytea b47b3e25a7
Make get_version constexpr and inline, move version.hpp to include.
Also configure all then include stuff in include/CMakeLists.txt.
2020-02-29 02:16:18 +01:00

14 lines
324 B
CMake

# src must come before include, because the target is declared there.
add_subdirectory(src)
add_subdirectory(include)
add_subdirectory(cmake)
add_subdirectory(pkg-config)
if(WITH_DOC)
include(cmake/Doxygen.cmake)
enable_doxygen(
"${CMAKE_CURRENT_SOURCE_DIR}/include"
"${CMAKE_CURRENT_SOURCE_DIR}/src")
endif()