Variables¶
Build space¶
-
CATKIN_DEVEL_PREFIX¶ This is set to
${CMAKE_BINARY_DIR}/develbycatkin/all.cmakeand is the analogue toCMAKE_PREFIX_PATH. Since the layout of the both foldersCATKIN_DEVEL_PREFIXandCMAKE_PREFIX_PATHis identical you can append any of the following install destinations to the build prefix.
Install destinations¶
All destination variables are meant to be used with the CMake install() macro as an DESTINATION argument.
They only contain relative paths and are supposed to be relative to the ${CMAKE_INSTALL_PREFIX} (or ${CATKIN_DEVEL_PREFIX}).
Project specific
-
CATKIN_PACKAGE_BIN_DESTINATION¶ This is set to
${CATKIN_GLOBAL_LIBEXEC_DESTINATION}/${PROJECT_NAME}.
-
CATKIN_PACKAGE_ETC_DESTINATION¶ This is set to
${CATKIN_GLOBAL_ETC_DESTINATION}/${PROJECT_NAME}.
-
CATKIN_PACKAGE_INCLUDE_DESTINATION¶ This is set to
${CATKIN_GLOBAL_INCLUDE_DESTINATION}/${PROJECT_NAME}.
-
CATKIN_PACKAGE_LIB_DESTINATION¶ This is set to
${CATKIN_GLOBAL_LIB_DESTINATION}. All libraries go into a global folder. Still use this variable instead ofCATKIN_GLOBAL_LIB_DESTINATIONfor package libraries.
-
CATKIN_PACKAGE_PYTHON_DESTINATION¶ This is set to
${CATKIN_GLOBAL_PYTHON_DESTINATION}/${PROJECT_NAME}.
-
CATKIN_PACKAGE_SHARE_DESTINATION¶ This is set to
${CATKIN_GLOBAL_SHARE_DESTINATION}/${PROJECT_NAME}.
Global
-
CATKIN_GLOBAL_BIN_DESTINATION¶ This is set to
bin. This destination should only be used for the core ROS binaries. If you are unsure if you should use this destination useCATKIN_PACKAGE_LIBEXEC_DESTINATIONinstead.
-
CATKIN_GLOBAL_ETC_DESTINATION¶ This is set to
etc.
-
CATKIN_GLOBAL_INCLUDE_DESTINATION¶ This is set to
include. This destination should only be used when installing headers which are not in a subfolder which matches the project name. Else you should use the destinationCATKIN_PACKAGE_INCLUDE_DESTINATIONinstead.
-
CATKIN_GLOBAL_LIB_DESTINATION¶ This is set to
lib. This variable should not be used directly, useCATKIN_PACKAGE_LIB_DESTINATIONinstead.
-
CATKIN_GLOBAL_LIBEXEC_DESTINATION¶ This is set to
lib. On non-Debian distributions it could be set tolibexec. Note that setting this variable to anything butliborlibexecwill not work as expected since tools likecatkin_findwill only consider these two locations. This variable should not be used directly, useCATKIN_PACKAGE_BIN_DESTINATIONinstead.
-
CATKIN_GLOBAL_PYTHON_DESTINATION¶ This is set to
lib/pythonX.Y/dist-packages(Debian),lib/pythonX.Y/site-packages(non-Debian) orlib/site-packages(Windows).
-
CATKIN_GLOBAL_SHARE_DESTINATION¶ This is set to
share.