change export order for static linking (#446)
This commit is contained in:
parent
947e3f7e67
commit
5f1fc660ea
2 changed files with 18 additions and 15 deletions
|
@ -25,10 +25,11 @@ add_library(rclcpp_lifecycle
|
|||
src/state.cpp
|
||||
src/transition.cpp
|
||||
)
|
||||
# specific order: dependents before dependencies
|
||||
ament_target_dependencies(rclcpp_lifecycle
|
||||
"lifecycle_msgs"
|
||||
"rclcpp"
|
||||
"rcl_lifecycle"
|
||||
"rclcpp")
|
||||
"lifecycle_msgs")
|
||||
|
||||
# Causes the visibility macros to use dllexport rather than dllimport,
|
||||
# which is appropriate when building the dll but not consuming it.
|
||||
|
@ -100,11 +101,12 @@ if(BUILD_TESTING)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# specific order: dependents before dependencies
|
||||
ament_export_include_directories(include)
|
||||
ament_export_libraries(${PROJECT_NAME})
|
||||
ament_export_dependencies(rclcpp)
|
||||
ament_export_dependencies(rcl_lifecycle)
|
||||
ament_export_dependencies(lifecycle_msgs)
|
||||
ament_export_include_directories(include)
|
||||
ament_export_libraries(${PROJECT_NAME})
|
||||
ament_package()
|
||||
|
||||
install(DIRECTORY include/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue