-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add install plugins to CMakeLists files * add install step to CI * change the name of libHandler.so to gz-sim-yarp-handler * enable rpath * include GNUInstallDirs module * delete DESTINATION parameters * Update README.md * Update README of tutorials * Update README.md * Update README.md Co-authored-by: Silvio Traversaro <[email protected]> --------- Co-authored-by: Silvio Traversaro <[email protected]>
- Loading branch information
1 parent
011f6fd
commit 7ec7572
Showing
21 changed files
with
163 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
|
||
add_library(Handler SHARED Handler.cc Handler.hh) | ||
target_compile_features(Handler PRIVATE cxx_std_17) | ||
add_library(gz-sim-yarp-handler SHARED Handler.cc Handler.hh) | ||
target_compile_features(gz-sim-yarp-handler PRIVATE cxx_std_17) | ||
|
||
target_link_libraries(Handler | ||
target_link_libraries(gz-sim-yarp-handler | ||
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} | ||
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER} | ||
PRIVATE | ||
${YARP_LIBRARIES} | ||
YARP::YARP_os | ||
YARP::YARP_init) | ||
YARP::YARP_init) | ||
|
||
install(TARGETS gz-sim-yarp-handler) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
add_library(HandlerCamera SHARED Handler.cc Handler.hh) | ||
target_compile_features(HandlerCamera PRIVATE cxx_std_17) | ||
add_library(gz-sim-yarp-handler-camera SHARED Handler.cc Handler.hh) | ||
target_compile_features(gz-sim-yarp-handler-camera PRIVATE cxx_std_17) | ||
|
||
target_link_libraries(HandlerCamera | ||
target_link_libraries(gz-sim-yarp-handler-camera | ||
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} | ||
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER} | ||
PRIVATE | ||
${YARP_LIBRARIES} | ||
YARP::YARP_os | ||
YARP::YARP_init) | ||
YARP::YARP_init) | ||
|
||
# Add install target | ||
install(TARGETS gz-sim-yarp-handler-camera) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
|
||
add_library(HandlerForceTorque SHARED Handler.cc Handler.hh) | ||
target_compile_features(HandlerForceTorque PRIVATE cxx_std_17) | ||
add_library(gz-sim-yarp-handler-forcetorque SHARED Handler.cc Handler.hh) | ||
target_compile_features(gz-sim-yarp-handler-forcetorque PRIVATE cxx_std_17) | ||
|
||
target_link_libraries(HandlerForceTorque | ||
target_link_libraries(gz-sim-yarp-handler-forcetorque | ||
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} | ||
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER} | ||
PRIVATE | ||
${YARP_LIBRARIES} | ||
YARP::YARP_os | ||
YARP::YARP_init) | ||
YARP::YARP_init) | ||
|
||
install(TARGETS gz-sim-yarp-handler-forcetorque) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
|
||
add_library(HandlerIMU SHARED Handler.cc Handler.hh) | ||
target_compile_features(HandlerIMU PRIVATE cxx_std_17) | ||
add_library(gz-sim-yarp-handler-imu SHARED Handler.cc Handler.hh) | ||
target_compile_features(gz-sim-yarp-handler-imu PRIVATE cxx_std_17) | ||
|
||
target_link_libraries(HandlerIMU | ||
target_link_libraries(gz-sim-yarp-handler-imu | ||
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} | ||
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER} | ||
PRIVATE | ||
${YARP_LIBRARIES} | ||
YARP::YARP_os | ||
YARP::YARP_init) | ||
YARP::YARP_init) | ||
|
||
# Add install target | ||
install(TARGETS gz-sim-yarp-handler-imu) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
|
||
add_library(HandlerLaser SHARED Handler.cc Handler.hh) | ||
target_compile_features(HandlerLaser PRIVATE cxx_std_17) | ||
add_library(gz-sim-yarp-handler-laser SHARED Handler.cc Handler.hh) | ||
target_compile_features(gz-sim-yarp-handler-laser PRIVATE cxx_std_17) | ||
|
||
target_link_libraries(HandlerLaser | ||
target_link_libraries(gz-sim-yarp-handler-laser | ||
PRIVATE gz-plugin${GZ_PLUGIN_VER}::gz-plugin${GZ_PLUGIN_VER} | ||
PRIVATE gz-sim${GZ_SIM_VER}::gz-sim${GZ_SIM_VER} | ||
PRIVATE | ||
${YARP_LIBRARIES} | ||
YARP::YARP_os | ||
YARP::YARP_init) | ||
|
||
# Add install target | ||
install(TARGETS gz-sim-yarp-handler-laser) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.