Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tutorial_ros_pub_sub
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
CeTI
ROS
CeTI Summer School
tutorial_ros_pub_sub
Commits
39b114c6
Commit
39b114c6
authored
4 years ago
by
Sebastian Ebert
Browse files
Options
Downloads
Patches
Plain Diff
update cmake to include exported targets
parent
52c02fb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-2
3 additions, 2 deletions
CMakeLists.txt
with
3 additions
and
2 deletions
CMakeLists.txt
+
3
−
2
View file @
39b114c6
...
@@ -42,8 +42,9 @@ target_link_libraries(listener ${catkin_LIBRARIES})
...
@@ -42,8 +42,9 @@ target_link_libraries(listener ${catkin_LIBRARIES})
add_executable
(
add_two_ints_server src/add_two_ints_server.cpp
)
add_executable
(
add_two_ints_server src/add_two_ints_server.cpp
)
target_link_libraries
(
add_two_ints_server
${
catkin_LIBRARIES
}
)
target_link_libraries
(
add_two_ints_server
${
catkin_LIBRARIES
}
)
#add_dependencies(add_two_ints_server tutorial_ros_pub_sub_generate_gencpp)
add_executable
(
add_two_ints_client src/add_two_ints_client.cpp
)
add_executable
(
add_two_ints_client src/add_two_ints_client.cpp
)
target_link_libraries
(
add_two_ints_client
${
catkin_LIBRARIES
}
)
target_link_libraries
(
add_two_ints_client
${
catkin_LIBRARIES
}
)
#add_dependencies(add_two_ints_client tutorial_ros_pub_sub_generate_gencpp)
add_dependencies
(
add_two_ints_server
${
tutorial_ros_pub_sub_EXPORTED_TARGETS
}
)
add_dependencies
(
add_two_ints_client
${
tutorial_ros_pub_sub_EXPORTED_TARGETS
}
)
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