Difference between revisions of "YARP 2.4 Migration"
Line 10: | Line 10: | ||
Target ''install_application'' removed, now applications and other files are with the binaries both in the build and in the installation directory | Target ''install_application'' removed, now applications and other files are with the binaries both in the build and in the installation directory | ||
Changed installation instructions: | |||
Repository description [[Better_Repository]], in particular templates: | |||
[[Simple template for modules in main]] | |||
[[Simple template for libraries in main]] | |||
[[Simple template for modules in contrib]] | |||
[[Simple template for libraries in contrib]] | |||
== List of incompatible changes == | == List of incompatible changes == |
Revision as of 00:11, 28 November 2013
![]() | This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template. This article was last edited by Lorenzo (talk| contribs) ago. (Purge) |
Migrating from YARP 2.3 to YARP 2.4 might require some changes to your code.
Things that change in iCub
Remove references to ICUB_ROOT in ResourceFinder usage
No need to set ICUB_ROOT environment variable
Target install_application removed, now applications and other files are with the binaries both in the build and in the installation directory
Changed installation instructions:
Repository description Better_Repository, in particular templates: Simple template for modules in main
Simple template for libraries in main
Simple template for modules in contrib
Simple template for libraries in contrib
List of incompatible changes
This is a list of incompatible changes from YARP 2.3 series to YARP 2.4
CMake
YARP_MODULE_PATH
cmake variable YARP_MODULE_PATH
is a real "PATH" and therefore could be a list and not a single directory. This might break in a few cases (i.e. when used in include(${YARP_MODULE_PATH}/something.cmake)
) There are 2 options to fix this:
- Use the variable
YARP_MODULE_DIR
instead ofYARP_MODULE_PATH
:
include(${YARP_MODULE_DIR}/something.cmake)
- Add YARP_MODULE_PATH to the CMAKE_MODULE_PATH variable and use the filename without the path and the extension :
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${YARP_MODULE_PATH}) include(something)