Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
zero
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
Nikhil Ambardar
zero
Commits
367671ab
Commit
367671ab
authored
4 years ago
by
Nikhil Ambardar
Browse files
Options
Downloads
Patches
Plain Diff
Update CMakeLists.txt
parent
6b7243eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
robot_models/CMakeLists.txt
+6
-6
6 additions, 6 deletions
robot_models/CMakeLists.txt
with
6 additions
and
6 deletions
robot_models/CMakeLists.txt
+
6
−
6
View file @
367671ab
...
@@ -131,22 +131,22 @@ include_directories(
...
@@ -131,22 +131,22 @@ include_directories(
## Declare a C++ executable
## Declare a C++ executable
## With catkin_make all packages are built within a single CMake context
## With catkin_make all packages are built within a single CMake context
## The recommended prefix ensures that target names across packages don't collide
## The recommended prefix ensures that target names across packages don't collide
#
add_executable(${
PROJECT_NAME
}_node src/robot_models_node.cpp)
add_executable
(
${
robot_models
}
_node src/robot_models_node.cpp
)
## Rename C++ executable without prefix
## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
## The above recommended prefix causes long target names, the following renames the
## target back to the shorter version for ease of user use
## target back to the shorter version for ease of user use
## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
#
set_target_properties(${
PROJECT_NAME
}_node PROPERTIES OUTPUT_NAME node PREFIX "")
set_target_properties
(
${
robot_models
}
_node PROPERTIES OUTPUT_NAME node PREFIX
""
)
## Add cmake target dependencies of the executable
## Add cmake target dependencies of the executable
## same as for the library above
## same as for the library above
#
add_dependencies(${
PROJECT_NAME}_node ${${PROJECT_NAME
}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
add_dependencies
(
${
robot_models
}
_node
${${
robot_models
}
_EXPORTED_TARGETS
}
${
catkin_EXPORTED_TARGETS
}
)
## Specify libraries to link a library or executable target against
## Specify libraries to link a library or executable target against
#
target_link_libraries(${
PROJECT_NAME
}_node
target_link_libraries
(
${
robot_models
}
_node
#
${catkin_LIBRARIES}
${
catkin_LIBRARIES
}
#
)
)
#############
#############
## Install ##
## Install ##
...
...
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