Move status exec to after tracetools lib

This commit is contained in:
Christophe Bedard 2019-08-01 09:52:32 +02:00
parent 5133cb11d7
commit ec1c61ed8c

View file

@ -31,20 +31,6 @@ configure_file(include/${PROJECT_NAME}/config.h.in include/${PROJECT_NAME}/confi
# add both source and output include, to capture config.h # add both source and output include, to capture config.h
include_directories(include ${PROJECT_BINARY_DIR}/include) include_directories(include ${PROJECT_BINARY_DIR}/include)
# Status checking tool
add_executable(status
src/status.c
src/tracetools.c
src/utils.cpp
)
target_link_libraries(status
${PROJECT_NAME}
)
install(TARGETS
status
DESTINATION lib/${PROJECT_NAME}
)
# Tracetools lib # Tracetools lib
set(SOURCES set(SOURCES
src/tracetools.c src/tracetools.c
@ -66,6 +52,21 @@ else()
endif() endif()
ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET) ament_export_interfaces(${PROJECT_NAME}_export HAS_LIBRARY_TARGET)
# Status checking tool
add_executable(status
src/status.c
src/tracetools.c
src/utils.cpp
)
target_link_libraries(status
${PROJECT_NAME}
)
install(TARGETS
status
DESTINATION lib/${PROJECT_NAME}
)
install( install(
DIRECTORY include/ DIRECTORY include/
DESTINATION include DESTINATION include