Skip to content
Snippets Groups Projects
Commit c0640e6e authored by root's avatar root
Browse files

Added header files to include targets

parent a4f17994
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,19 @@ set(psrdada_cpp_src ...@@ -16,6 +16,19 @@ set(psrdada_cpp_src
src/cli_utils.cpp 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 # -- the main library target
add_library(${CMAKE_PROJECT_NAME} ${psrdada_cpp_src}) add_library(${CMAKE_PROJECT_NAME} ${psrdada_cpp_src})
...@@ -27,5 +40,11 @@ target_link_libraries (junkdb ${PSRDADA_CPP_LIBRARIES}) ...@@ -27,5 +40,11 @@ target_link_libraries (junkdb ${PSRDADA_CPP_LIBRARIES})
add_executable(dbnull examples/dbnull.cpp) add_executable(dbnull examples/dbnull.cpp)
target_link_libraries (dbnull ${PSRDADA_CPP_LIBRARIES}) target_link_libraries (dbnull ${PSRDADA_CPP_LIBRARIES})
install (TARGETS junkdb dbnull DESTINATION bin) #install (TARGETS junkdb dbnull DESTINATION bin)
#install (FILES MathFunctions.h DESTINATION include) #install (FILES MathFunctions.h DESTINATION include)
\ No newline at end of file install (TARGETS ${CMAKE_PROJECT_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
install(FILES ${psrdada_cpp_inc} DESTINATION include/psrdada_cpp)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment