Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gz_gep_tools
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
Olivier Stasse
gz_gep_tools
Commits
8fec53fe
Commit
8fec53fe
authored
4 weeks ago
by
Olivier Stasse
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Add dependency to gz-sim8
parent
ddf46329
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+5
-1
5 additions, 1 deletion
CMakeLists.txt
with
5 additions
and
1 deletion
CMakeLists.txt
+
5
−
1
View file @
8fec53fe
...
...
@@ -11,6 +11,8 @@ set(CMAKE_VERBOSE_MAKEFILE TRUE)
# Find the Gazebo Transport library
find_package
(
gz-transport13 QUIET REQUIRED OPTIONAL_COMPONENTS log
)
set
(
GZ_TRANSPORT_VER
${
gz-transport13_VERSION_MAJOR
}
)
find_package
(
gz-sim8 QUIET REQUIRED OPTIONAL_COMPONENTS log
)
set
(
GZ_SIM_VER
${
gz-sim8_VERSION_MAJOR
}
)
add_library
(
gz_transport_hw_interface SHARED
src/joint_state_interface.cc
...
...
@@ -19,7 +21,9 @@ add_library(gz_transport_hw_interface SHARED
target_include_directories
(
gz_transport_hw_interface PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/include>
$<INSTALL_INTERFACE:include>
)
target_link_libraries
(
gz_transport_hw_interface gz-transport
${
GZ_TRANSPORT_VER
}
::core
)
target_link_libraries
(
gz_transport_hw_interface
gz-transport
${
GZ_TRANSPORT_VER
}
::core
gz-sim
${
GZ_SIM_VER
}
::core
)
add_executable
(
control_loop ./tools/control_loop.cc
)
...
...
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