-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init OpenraveYarpIroning as copy of ORYPS
- Loading branch information
1 parent
72a5a0c
commit 5cdbc1a
Showing
3 changed files
with
493 additions
and
0 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
27 changes: 27 additions & 0 deletions
27
libraries/OpenravePlugins/OpenraveYarpIroning/CMakeLists.txt
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
option(ENABLE_OpenraveYarpIroning "Enable/disable OpenraveYarpIroning" ON) | ||
|
||
if(ENABLE_OpenraveYarpIroning) | ||
|
||
add_library(OpenraveYarpIroning MODULE OpenraveYarpIroning.cpp) | ||
|
||
target_link_libraries(OpenraveYarpIroning YARP::YARP_os | ||
YARP::YARP_init | ||
Boost::boost) | ||
|
||
if(OpenRAVE_VERSION VERSION_GREATER_EQUAL 0.114) | ||
target_link_libraries(OpenraveYarpIroning OpenRAVE::libopenrave) | ||
else() | ||
link_directories(${OpenRAVE_LIBRARY_DIRS}) | ||
|
||
target_link_libraries(OpenraveYarpIroning PUBLIC ${OpenRAVE_LIBRARIES}) | ||
|
||
set_target_properties(OpenraveYarpIroning PROPERTIES COMPILE_OPTIONS "${OpenRAVE_CXX_FLAGS}" | ||
LINK_FLAGS "${OpenRAVE_LINK_FLAGS}") | ||
|
||
target_include_directories(OpenraveYarpIroning PRIVATE ${OpenRAVE_INCLUDE_DIRS}) | ||
endif() | ||
|
||
include(InstallOpenravePlugin) | ||
install_openrave_plugin(OpenraveYarpIroning) | ||
|
||
endif() |
Oops, something went wrong.