diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc95dedc9..34a2705110 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,9 @@ if (POLICY CMP0054) cmake_policy(SET CMP0054 NEW) endif() +# Define global caktin_lint suppressions +#catkin_lint: ignore uninstalled_script missing_install_target + find_package(Boost REQUIRED COMPONENTS filesystem @@ -147,6 +150,7 @@ find_package(PythonLibs "${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}" REQUIR find_package(Eigen3 QUIET) if(NOT EIGEN3_FOUND) + #catkin_lint: ignore_once deprecated_cmake_module find_package(Eigen REQUIRED) set(EIGEN3_INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS}) set(EIGEN3_LIBRARIES ${EIGEN_LIBRARIES}) # Not strictly necessary as Eigen is head only diff --git a/src/python_bindings/shiboken/CMakeLists.txt b/src/python_bindings/shiboken/CMakeLists.txt index f787fb6305..24ea0964db 100644 --- a/src/python_bindings/shiboken/CMakeLists.txt +++ b/src/python_bindings/shiboken/CMakeLists.txt @@ -5,6 +5,7 @@ set(rviz_shiboken_QT_COMPONENTS QtGui ) +#catkin_lint: ignore_once duplicate_find find_package(python_qt_binding REQUIRED) include(${python_qt_binding_EXTRAS_DIR}/shiboken_helper.cmake) diff --git a/src/python_bindings/sip/CMakeLists.txt b/src/python_bindings/sip/CMakeLists.txt index c91a6be254..64096a17ef 100644 --- a/src/python_bindings/sip/CMakeLists.txt +++ b/src/python_bindings/sip/CMakeLists.txt @@ -36,7 +36,9 @@ set(rviz_sip_DEPENDENT_FILES ${rviz_HDRS_DIR}/yaml_config_writer.h ) +#catkin_lint: ignore_once duplicate_find find_package(python_qt_binding REQUIRED) +#catkin_lint: ignore_once external_file include(${python_qt_binding_EXTRAS_DIR}/sip_helper.cmake) # maintain context for different named target @@ -61,6 +63,7 @@ if(sip_helper_FOUND) else() set(rviz_sip_LIBRARY_FILE librviz_sip${CMAKE_SHARED_LIBRARY_SUFFIX}) endif() + #catkin_lint: ignore_once missing_file external_file install(FILES ${CATKIN_DEVEL_PREFIX}/${PYTHON_INSTALL_DIR}/rviz/${rviz_sip_LIBRARY_FILE} DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}) endif() diff --git a/src/rviz/CMakeLists.txt b/src/rviz/CMakeLists.txt index 27851768da..24d2c8f35f 100644 --- a/src/rviz/CMakeLists.txt +++ b/src/rviz/CMakeLists.txt @@ -16,6 +16,7 @@ include_directories(.) set(ENV_CONFIG_FILE ${CMAKE_CURRENT_BINARY_DIR}/env_config.cpp) set(RVIZ_VERSION ${rviz_VERSION}) message("making version ${RVIZ_VERSION}.") +#catkin_lint: ignore_once env_var set(ROS_DISTRO $ENV{ROS_DISTRO}) configure_file(env_config.cpp.in ${ENV_CONFIG_FILE} @ONLY) diff --git a/src/rviz/default_plugin/CMakeLists.txt b/src/rviz/default_plugin/CMakeLists.txt index e290829572..2d2761df82 100644 --- a/src/rviz/default_plugin/CMakeLists.txt +++ b/src/rviz/default_plugin/CMakeLists.txt @@ -91,6 +91,7 @@ file(GENERATE OUTPUT "${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/cmake/default_plugin_location.cmake" CONTENT "set(rviz_DEFAULT_PLUGIN_FILE_NAME $)" ) +#catkin_lint: ignore_once missing_file external_file # Install from the devel space to the install space. install(FILES "${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_SHARE_DESTINATION}/cmake/default_plugin_location.cmake" DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/cmake