-
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.
begin OpenraveCollisionStop as copy of OpenraveYarpPluginLoader, #82
- Loading branch information
1 parent
94576dc
commit a61a92a
Showing
3 changed files
with
392 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
32 changes: 32 additions & 0 deletions
32
libraries/OpenravePlugins/OpenraveCollisionStop/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,32 @@ | ||
# Generated by Juan G Victores 2013 | ||
# Thanks Rosen Diankov for all OpenRAVE developments | ||
|
||
option(ENABLE_OpenraveCollisionStop "Enable/disable OpenraveCollisionStop" ON) | ||
|
||
if(ENABLE_OpenraveCollisionStop) | ||
|
||
find_package(OpenRAVE REQUIRED) | ||
find_package(YARP REQUIRED) | ||
find_package(Boost ${OpenRAVE_Boost_VERSION} EXACT COMPONENTS iostreams python thread) | ||
|
||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} | ||
${OpenRAVE_INCLUDE_DIRS} | ||
${YARP_INCLUDE_DIRS} | ||
${Boost_INCLUDE_DIRS}) | ||
|
||
link_directories(${OpenRAVE_LIBRARY_DIRS} | ||
${Boost_LIBRARY_DIRS}) | ||
|
||
add_library(OpenraveCollisionStop SHARED OpenraveCollisionStop.cpp) | ||
|
||
set_target_properties(OpenraveCollisionStop PROPERTIES COMPILE_FLAGS "${OpenRAVE_CXX_FLAGS}" | ||
LINK_FLAGS "${OpenRAVE_LINK_FLAGS}") | ||
|
||
target_link_libraries(OpenraveCollisionStop ${YARP_LIBRARIES} | ||
${OpenRAVE_LIBRARIES}) | ||
|
||
include(InstallOpenravePlugin) | ||
|
||
install_openrave_plugin(OpenraveCollisionStop) | ||
|
||
endif() |
Oops, something went wrong.