-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #622 from cmastalli/topic/catkin-uninstall
Do not remove catkin file, breaks robostack environment
- Loading branch information
Showing
9 changed files
with
85 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
hpp/idl/*.pyc | ||
.docs/build | ||
_unittests/build/ | ||
_unittests/install/ |
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