Variables¶
Build space¶
-
CATKIN_DEVEL_PREFIX
¶ This is set to
${CMAKE_BINARY_DIR}/devel
bycatkin/all.cmake
and is the analogue toCMAKE_PREFIX_PATH
. Since the layout of the both foldersCATKIN_DEVEL_PREFIX
andCMAKE_PREFIX_PATH
is 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_DESTINATION
for 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_DESTINATION
instead.
-
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_DESTINATION
instead.
-
CATKIN_GLOBAL_LIB_DESTINATION
¶ This is set to
lib
. This variable should not be used directly, useCATKIN_PACKAGE_LIB_DESTINATION
instead.
-
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 butlib
orlibexec
will not work as expected since tools likecatkin_find
will only consider these two locations. This variable should not be used directly, useCATKIN_PACKAGE_BIN_DESTINATION
instead.
-
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
.