Skip to content
Snippets Groups Projects
Verified Commit 41813031 authored by Maik Nijhuis's avatar Maik Nijhuis
Browse files

Support installation

parent 88043c67
No related branches found
No related tags found
1 merge request!2Various improvements
Pipeline #37870 failed
......@@ -13,6 +13,8 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
option(BUILD_TESTING "Build the test suite" OFF)
option(BUILD_DOCUMENTATION "Build the documentation" OFF)
install(DIRECTORY include DESTINATION .)
add_subdirectory(src)
if(BUILD_TESTING)
......
......@@ -4,3 +4,5 @@
add_library(hello SHARED hello.cpp)
target_include_directories(hello PUBLIC "${CMAKE_SOURCE_DIR}/include")
install(TARGETS hello)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment