mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
install headers
This commit is contained in:
parent
63baf1cad8
commit
54987058ea
@ -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})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user