Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
talos-metapkg-ros-control-sot
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
Guilhem Saurel
talos-metapkg-ros-control-sot
Commits
1baceda1
Commit
1baceda1
authored
7 years ago
by
Olivier Stasse
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Makes CMakeLists.txt independent from the branch.
parent
d7329bdc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
talos_roscontrol_sot/CMakeLists.txt
+14
-2
14 additions, 2 deletions
talos_roscontrol_sot/CMakeLists.txt
with
14 additions
and
2 deletions
talos_roscontrol_sot/CMakeLists.txt
+
14
−
2
View file @
1baceda1
...
...
@@ -26,6 +26,8 @@ include(cmake/python.cmake)
#project(talos_roscontrol_sot)
OPTION
(
REAL_ROBOT
"Compiling this package for the real robot"
FALSE
)
find_package
(
PkgConfig REQUIRED
)
add_required_dependency
(
bullet
)
...
...
@@ -36,6 +38,17 @@ add_required_dependency(bullet)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
if
(
${
REAL_ROBOT
}
)
set
(
additional_catkin_required_components
controller_interface
pal_hardware_interfaces
)
else
(
${
REAL_ROBOT
}
)
set
(
additional_catkin_required_components
talos_controller_interface
talos_pal_hardware_interfaces
)
endif
(
${
REAL_ROBOT
}
)
find_package
(
catkin REQUIRED COMPONENTS
roscpp
rospy
...
...
@@ -44,8 +57,7 @@ find_package(catkin REQUIRED COMPONENTS
control_msgs
sensor_msgs
realtime_tools
talos_controller_interface
talos_pal_hardware_interfaces
${
additional_catkin_required_components
}
)
## LAAS cmake submodule part
...
...
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