-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported upstream version '2.4.4' of 'upstream'
- Loading branch information
Showing
46 changed files
with
1,154 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
|
||
set(PROJECT_NAME "jrl-cmakemodules") | ||
set(PROJECT_DESCRIPTION "CMake utility toolbox") | ||
set(PROJECT_URL "http://github.com/jrl-umi3218/${PROJECT_NAME}") | ||
|
||
project( | ||
${PROJECT_NAME} | ||
DESCRIPTION ${PROJECT_DESCRIPTION} | ||
LANGUAGES CXX | ||
VERSION 0.0.0) | ||
|
||
# Generate CMake exports | ||
include(GNUInstallDirs) | ||
include(package-config.cmake) | ||
set(PROJECT_JRL_CMAKE_MODULE_DIR ${CMAKE_CURRENT_LIST_DIR}) | ||
setup_project_package_finalize() | ||
|
||
# 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 $<INSTALL_INTERFACE:${INSTALL_DIR}>) | ||
|
||
# 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}) | ||
|
||
# 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 | ||
./sdformat.cmake | ||
./setup.cfg | ||
./shared-library.cmake | ||
./sphinx.cmake | ||
./stubs.cmake | ||
./swig.cmake | ||
./test.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}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
|
||
set(PROJECT_NAME jrl-cmakemodules-catkin) | ||
set(PROJECT_VERSION 0.0.0) | ||
set(PROJECT_DESCRIPTION "JRL CMake module - catkin") | ||
set(PROJECT_URL http://jrl-cmakemodules.readthedocs.io) | ||
|
||
include(../../base.cmake) | ||
|
||
project(${PROJECT_NAME} LANGUAGES CXX) | ||
|
||
# This project test the correct behavior of #622 | ||
# | ||
# * If .catkin is already here when the project is configured it is not removed | ||
# * Otherwise it is assumed it is created by the project and removed with the | ||
# uninstall target | ||
|
||
option(FORCE_DOT_CATKIN_CREATION | ||
"Force creation of .catkin file in install destination" OFF) | ||
|
||
if(FORCE_DOT_CATKIN_CREATION) | ||
install( | ||
CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_INSTALL_PREFIX}/.catkin)" | ||
) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.