Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

install headers

  • Loading branch information...
commit 54987058ea92107e043e5c1f97ae60524ec4aa36 1 parent 63baf1c
@wjwwood authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 CMakeLists.txt
View
7 CMakeLists.txt
@@ -48,12 +48,15 @@ target_link_libraries(serial_example ${PROJECT_NAME})
include_directories(include)
## Install executable
-install(
- TARGETS ${PROJECT_NAME}
+install(TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)
+## Install headers
+install(FILES include/serial/serial.h include/serial/v8stdint.h
+ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}/serial)
+
## Tests
catkin_add_gtest(${PROJECT_NAME}-test tests/serial_tests.cc)
target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
Please sign in to comment.
Something went wrong with that request. Please try again.