From e823b7643cc7174fcb46bff74cac42e6d7625960 Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Thu, 19 Sep 2024 16:05:55 +0200 Subject: [PATCH] core: Add missing cmake to jrl-cmake installation rule --- CMakeLists.txt | 209 ++++++++++++++++++++++++------------------------- 1 file changed, 102 insertions(+), 107 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1075c458..0e31101e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,7 @@ project( ${PROJECT_NAME} DESCRIPTION ${PROJECT_DESCRIPTION} LANGUAGES CXX - VERSION 0.0.0 -) + VERSION 0.0.0) if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) # Generate CMake exports @@ -21,117 +20,113 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME) # Add a dummy library with a useful INTERFACE_INCLUDE_DIRECTORIES add_library(${PROJECT_NAME} INTERFACE) set(INSTALL_DIR "${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}") - target_include_directories( - ${PROJECT_NAME} - INTERFACE $ - ) + target_include_directories(${PROJECT_NAME} + INTERFACE $) # find . -maxdepth 1 -type d ! -path './.*' | sort install( - DIRECTORY - ./boost - ./cython - ./doxygen - ./dynamic_graph - ./find-external - ./github - ./gtest - ./hpp - ./image - ./sphinx - ./stubgen - ./_unittests - DESTINATION ${INSTALL_DIR} - ) + DIRECTORY ./boost + ./cython + ./doxygen + ./dynamic_graph + ./find-external + ./github + ./gtest + ./hpp + ./image + ./sphinx + ./stubgen + ./_unittests + DESTINATION ${INSTALL_DIR}) # find . -maxdepth 1 -type f ! -path './.*' | sort install( - FILES - ./announce-gen - ./apple.cmake - ./base.cmake - ./boost.cmake - ./catkin.cmake - ./CMakeLists.txt - ./cmake_reinstall.cmake.in - ./cmake_uninstall.cmake.in - ./compiler.cmake - ./componentConfig.cmake.in - ./Config.cmake.in - ./config.h.cmake - ./config.hh.cmake - ./coverage.cmake - ./cpack.cmake - ./createshexe.cmake - ./cxx11.cmake - ./cxx-standard.cmake - ./debian.cmake - ./deprecated.hh.cmake - ./distcheck.cmake - ./dist.cmake - ./doxygen.cmake - ./eigen.cmake - ./filefilter.txt - ./fix-license.sh - ./geometric-tools.cmake - ./git-archive-all.py - ./git-archive-all.sh - ./gitlog-to-changelog - ./GNUInstallDirs.cmake - ./gtest.cmake - ./header.cmake - ./hpp.cmake - ./ide.cmake - ./idl.cmake - ./idlrtc.cmake - ./install-data.cmake - ./julia.cmake - ./kineo.cmake - ./lapack.cmake - ./LICENSE - ./logging.cmake - ./man.cmake - ./memorycheck_unit_test.cmake.in - ./metapodfromurdf.cmake - ./modernize-links.cmake - ./msvc-specific.cmake - ./msvc.vcxproj.user.in - ./openhrp.cmake - ./openhrpcontroller.cmake - ./openrtm.cmake - ./oscheck.cmake - ./package-config.cmake - ./pkg-config.cmake - ./pkg-config.pc.cmake - ./portability.cmake - ./post-project.cmake - ./pthread.cmake - ./pyproject.py - ./python.cmake - ./python-helpers.cmake - ./qhull.cmake - ./README.md - ./release.cmake - ./relpath.cmake - ./ros.cmake - ./ros2.cmake - ./sdformat.cmake - ./setup.cfg - ./shared-library.cmake - ./sphinx.cmake - ./stubs.cmake - ./swig.cmake - ./test.cmake - ./tracy.cmake - ./tracy.hh.cmake - ./uninstall.cmake - ./version.cmake - ./version-script.cmake - ./version-script-test.lds - ./warning.hh.cmake - ./xacro.cmake - DESTINATION ${INSTALL_DIR} - ) + FILES ./announce-gen + ./apple.cmake + ./base.cmake + ./boost.cmake + ./catkin.cmake + ./CMakeLists.txt + ./cmake_reinstall.cmake.in + ./cmake_uninstall.cmake.in + ./compiler.cmake + ./componentConfig.cmake.in + ./Config.cmake.in + ./config.h.cmake + ./config.hh.cmake + ./coverage.cmake + ./cpack.cmake + ./createshexe.cmake + ./cxx11.cmake + ./cxx-standard.cmake + ./debian.cmake + ./deprecated.hh.cmake + ./distcheck.cmake + ./dist.cmake + ./doxygen.cmake + ./eigen.cmake + ./filefilter.txt + ./fix-license.sh + ./geometric-tools.cmake + ./git-archive-all.py + ./git-archive-all.sh + ./gitlog-to-changelog + ./GNUInstallDirs.cmake + ./gtest.cmake + ./header.cmake + ./hpp.cmake + ./ide.cmake + ./idl.cmake + ./idlrtc.cmake + ./install-data.cmake + ./install-helpers.cmake + ./julia.cmake + ./kineo.cmake + ./lapack.cmake + ./LICENSE + ./logging.cmake + ./man.cmake + ./memorycheck_unit_test.cmake.in + ./metapodfromurdf.cmake + ./modernize-links.cmake + ./msvc-specific.cmake + ./msvc.vcxproj.user.in + ./openhrp.cmake + ./openhrpcontroller.cmake + ./openrtm.cmake + ./oscheck.cmake + ./package-config.cmake + ./package.xml + ./pixi.py + ./pkg-config.cmake + ./pkg-config.pc.cmake + ./portability.cmake + ./post-project.cmake + ./pthread.cmake + ./pyproject.py + ./python.cmake + ./python-helpers.cmake + ./qhull.cmake + ./README.md + ./release.cmake + ./relpath.cmake + ./ros.cmake + ./sdformat.cmake + ./setup.cfg + ./shared-library.cmake + ./sphinx.cmake + ./stubs.cmake + ./swig.cmake + ./test.cmake + ./tracy.cmake + ./tracy.hh.cmake + ./uninstall.cmake + ./version.cmake + ./version-script.cmake + ./version-script-test.lds + ./warning.hh.cmake + ./xacro.cmake + DESTINATION ${INSTALL_DIR}) install(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME}) endif()