From c0640e6eb933aa7d3773a01face0c92c61238c7e Mon Sep 17 00:00:00 2001 From: root <root@srx00.mpifr.mkat.karoo.kat.ac.za> Date: Tue, 19 Sep 2017 12:03:22 +0000 Subject: [PATCH] Added header files to include targets --- psrdada_cpp/CMakeLists.txt | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/psrdada_cpp/CMakeLists.txt b/psrdada_cpp/CMakeLists.txt index 74f923cd..9309acd5 100644 --- a/psrdada_cpp/CMakeLists.txt +++ b/psrdada_cpp/CMakeLists.txt @@ -16,6 +16,19 @@ set(psrdada_cpp_src src/cli_utils.cpp ) +set(psrdada_cpp_inc + cli_utils.hpp + dada_client_base.hpp + dada_io_loop.hpp + dada_io_loop_writer.hpp + dada_read_client.hpp + multilog.hpp + common.hpp + dada_io_loop_reader.hpp + dada_write_client.hpp + raw_bytes.hpp + ) + # -- the main library target add_library(${CMAKE_PROJECT_NAME} ${psrdada_cpp_src}) @@ -27,5 +40,11 @@ target_link_libraries (junkdb ${PSRDADA_CPP_LIBRARIES}) add_executable(dbnull examples/dbnull.cpp) target_link_libraries (dbnull ${PSRDADA_CPP_LIBRARIES}) -install (TARGETS junkdb dbnull DESTINATION bin) -#install (FILES MathFunctions.h DESTINATION include) \ No newline at end of file +#install (TARGETS junkdb dbnull DESTINATION bin) +#install (FILES MathFunctions.h DESTINATION include) +install (TARGETS ${CMAKE_PROJECT_NAME} + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) +install(FILES ${psrdada_cpp_inc} DESTINATION include/psrdada_cpp) + -- GitLab