Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic_graph_bridge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
dynamic_graph_bridge
Commits
c00b6e74
Commit
c00b6e74
authored
2 years ago
by
Vladimír Petrík
Browse files
Options
Downloads
Patches
Plain Diff
Link ros_bridge with bridge_msgs by using libarary interface.
parent
194d35dd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#18814
passed with warnings
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
src/CMakeLists.txt
+4
-8
4 additions, 8 deletions
src/CMakeLists.txt
with
5 additions
and
9 deletions
CMakeLists.txt
+
1
−
1
View file @
c00b6e74
...
...
@@ -77,7 +77,7 @@ ADD_LIBRARY(ros_bridge SHARED
TARGET_INCLUDE_DIRECTORIES
(
ros_bridge SYSTEM PUBLIC
${
catkin_INCLUDE_DIRS
}
)
TARGET_INCLUDE_DIRECTORIES
(
ros_bridge PUBLIC $<INSTALL_INTERFACE:include>
)
TARGET_LINK_LIBRARIES
(
ros_bridge
${
catkin_LIBRARIES
}
sot-core::sot-core pinocchio::pinocchio
)
sot-core::sot-core pinocchio::pinocchio
dynamic_graph_bridge_msgs::dynamic_graph_bridge_msgs
)
IF
(
SUFFIX_SO_VERSION
)
SET_TARGET_PROPERTIES
(
ros_bridge PROPERTIES SOVERSION
${
PROJECT_VERSION
}
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
4
−
8
View file @
c00b6e74
...
...
@@ -14,8 +14,7 @@ FOREACH(plugin ${plugins})
SET_TARGET_PROPERTIES
(
${
LIBRARY_NAME
}
PROPERTIES SOVERSION
${
PROJECT_VERSION
}
)
ENDIF
(
SUFFIX_SO_VERSION
)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
${${
LIBRARY_NAME
}
_deps
}
${
catkin_LIBRARIES
}
ros_bridge
dynamic_graph_bridge_msgs::dynamic_graph_bridge_msgs
)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
${${
LIBRARY_NAME
}
_deps
}
${
catkin_LIBRARIES
}
ros_bridge
)
IF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
INSTALL
(
TARGETS
${
LIBRARY_NAME
}
EXPORT
${
TARGETS_EXPORT_NAME
}
...
...
@@ -46,8 +45,7 @@ IF(BUILD_PYTHON_INTERFACE)
# ros_interperter library.
add_library
(
ros_interpreter ros_interpreter.cpp
)
TARGET_LINK_LIBRARIES
(
ros_interpreter ros_bridge
${
catkin_LIBRARIES
}
dynamic-graph-python::dynamic-graph-python
dynamic_graph_bridge_msgs::dynamic_graph_bridge_msgs
)
dynamic-graph-python::dynamic-graph-python
)
install
(
TARGETS ros_interpreter
EXPORT
${
TARGETS_EXPORT_NAME
}
...
...
@@ -56,13 +54,11 @@ ENDIF(BUILD_PYTHON_INTERFACE)
# Stand alone embedded intepreter with a robot controller.
add_executable
(
geometric_simu geometric_simu.cpp sot_loader.cpp sot_loader_basic.cpp
)
target_link_libraries
(
geometric_simu Boost::program_options
${
CMAKE_DL_LIBS
}
${
catkin_LIBRARIES
}
ros_bridge
dynamic_graph_bridge_msgs::dynamic_graph_bridge_msgs
)
target_link_libraries
(
geometric_simu Boost::program_options
${
CMAKE_DL_LIBS
}
${
catkin_LIBRARIES
}
ros_bridge
)
install
(
TARGETS geometric_simu
DESTINATION lib/
${
PROJECT_NAME
}
)
# Sot loader library
add_library
(
sot_loader sot_loader.cpp sot_loader_basic.cpp
)
target_link_libraries
(
sot_loader Boost::program_options
${
catkin_LIBRARIES
}
ros_bridge
dynamic_graph_bridge_msgs::dynamic_graph_bridge_msgs
)
target_link_libraries
(
sot_loader Boost::program_options
${
catkin_LIBRARIES
}
ros_bridge
)
install
(
TARGETS sot_loader EXPORT
${
TARGETS_EXPORT_NAME
}
DESTINATION lib
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment