Skip to content

Commit

Permalink
Do not export plugin libraries (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong authored Jul 18, 2024
1 parent 22354c6 commit fcaf317
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion tesseract_task_composer/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,19 @@ install(
PATTERN "*.h"
PATTERN "*.hpp")

# Plugin should not be export only installed
install(
TARGETS ${PROJECT_NAME}_factories
COMPONENT core
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

# Configure Components
configure_component(
COMPONENT core
NAMESPACE tesseract
TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_nodes ${PROJECT_NAME}_factories
TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_nodes
DEPENDENCIES
console_bridge
tesseract_common
Expand Down
10 changes: 9 additions & 1 deletion tesseract_task_composer/planning/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,19 @@ install(
PATTERN "*.hpp"
PATTERN ".svn" EXCLUDE)

# Plugin should not be export only installed
install(
TARGETS ${PROJECT_NAME}_planning_factories
COMPONENT planning
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

# Configure Components
configure_component(
COMPONENT planning
NAMESPACE tesseract
TARGETS ${PROJECT_NAME}_planning_nodes ${PROJECT_NAME}_planning_factories
TARGETS ${PROJECT_NAME}_planning_nodes
DEPENDENCIES
"tesseract_task_composer COMPONENTS core"
tesseract_command_language
Expand Down
10 changes: 9 additions & 1 deletion tesseract_task_composer/taskflow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,19 @@ install(
PATTERN "*.hpp"
PATTERN ".svn" EXCLUDE)

# Plugin should not be export only installed
install(
TARGETS ${PROJECT_NAME}_taskflow_factories
COMPONENT taskflow
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

# Configure Components
configure_component(
COMPONENT taskflow
NAMESPACE tesseract
TARGETS ${PROJECT_NAME}_taskflow ${PROJECT_NAME}_taskflow_factories
TARGETS ${PROJECT_NAME}_taskflow
DEPENDENCIES "tesseract_task_composer COMPONENTS core" Taskflow)

if(TESSERACT_PACKAGE)
Expand Down

0 comments on commit fcaf317

Please sign in to comment.