-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
631 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (C) 2006-2023 Istituto Italiano di Tecnologia (IIT) | ||
# All rights reserved. | ||
# | ||
# This software may be modified and distributed under the terms of the | ||
# BSD-3-Clause license. See the accompanying LICENSE file for details. | ||
|
||
yarp_configure_plugins_installation(ergocub-software) | ||
|
||
yarp_prepare_plugin(couplingXCubHandMk5 | ||
CATEGORY device | ||
TYPE CouplingXCubHandMk5 | ||
INCLUDE CouplingXCubHandMk5.h | ||
DEFAULT ON) | ||
|
||
if(ENABLE_couplingXCubHandMk5) | ||
|
||
yarp_add_plugin(yarp_couplingXCubHandMk5) | ||
|
||
if(MSVC) | ||
add_definitions(-D_USE_MATH_DEFINES) | ||
endif() | ||
|
||
target_sources(yarp_couplingXCubHandMk5 PRIVATE CouplingXCubHandMk5.cpp | ||
CouplingXCubHandMk5.h) | ||
|
||
target_link_libraries(yarp_couplingXCubHandMk5 PRIVATE YARP::YARP_os | ||
YARP::YARP_dev) | ||
list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS YARP_os | ||
YARP_dev) | ||
|
||
yarp_install(TARGETS yarp_couplingXCubHandMk5 | ||
EXPORT YARP_${YARP_PLUGIN_MASTER} | ||
COMPONENT ${YARP_PLUGIN_MASTER} | ||
LIBRARY DESTINATION ${YARP_DYNAMIC_PLUGINS_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${YARP_STATIC_PLUGINS_INSTALL_DIR} | ||
YARP_INI DESTINATION ${YARP_PLUGIN_MANIFESTS_INSTALL_DIR}) | ||
|
||
set(YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS ${YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS} PARENT_SCOPE) | ||
|
||
set_property(TARGET yarp_couplingXCubHandMk5 PROPERTY FOLDER "Plugins/Device") | ||
endif() |
Oops, something went wrong.