-
Notifications
You must be signed in to change notification settings - Fork 68
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 #189 from jhu-dvrk/rc-2.2
2.2.0
- Loading branch information
Showing
320 changed files
with
10,576 additions
and
9,466 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,5 +1,5 @@ | ||
# | ||
# (C) Copyright 2009-2018 Johns Hopkins University (JHU), All Rights Reserved. | ||
# (C) Copyright 2009-2023 Johns Hopkins University (JHU), All Rights Reserved. | ||
# | ||
# --- begin cisst license - do not edit --- | ||
# | ||
|
@@ -9,8 +9,29 @@ | |
# | ||
# --- end cisst license --- | ||
|
||
cmake_minimum_required (VERSION 3.1) | ||
cmake_minimum_required(VERSION 3.10) | ||
project (sawIntuitiveResearchKitAll VERSION 2.2.0) | ||
|
||
find_package (cisst REQUIRED) | ||
include (${CISST_USE_FILE}) | ||
cisst_cpack_settings ( | ||
VENDOR "JHU" | ||
MAINTAINER "[email protected]") | ||
|
||
add_subdirectory (components) | ||
|
||
set (sawIntuitiveResearchKit_DIR "${sawIntuitiveResearchKitAll_BINARY_DIR}/components") | ||
add_subdirectory (applications) | ||
add_subdirectory (examples) | ||
add_subdirectory (share) | ||
|
||
include (CPack) | ||
cpack_add_component (sawIntuitiveResearchKit) | ||
cpack_add_component (sawIntuitiveResearchKit-dev | ||
DEPENDS sawIntuitiveResearchKit) | ||
cpack_add_component (sawIntuitiveResearchKit-Share | ||
DEPENDS sawIntuitiveResearchKit) | ||
cpack_add_component (sawIntuitiveResearchKit-Qt | ||
DEPENDS sawIntuitiveResearchKit) | ||
cpack_add_component (sawIntuitiveResearchKit-Applications | ||
DEPENDS sawIntuitiveResearchKit sawIntuitiveResearchKit-Qt) |
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,42 @@ | ||
# | ||
# (C) Copyright 2023 Johns Hopkins University (JHU), All Rights Reserved. | ||
# | ||
# --- begin cisst license - do not edit --- | ||
# | ||
# This software is provided "as is" under an open source license, with | ||
# no warranty. The complete license can be found in license.txt and | ||
# http://www.cisst.org/cisst/license.txt. | ||
# | ||
# --- end cisst license --- | ||
|
||
cmake_minimum_required (VERSION 3.10) | ||
project (sawIntuitiveResearchKitConfigGenerator VERSION 2.2.0) | ||
|
||
# find cisst and make sure the required libraries have been compiled | ||
find_package (cisst 1.2.0 REQUIRED ${REQUIRED_CISST_LIBRARIES}) | ||
|
||
if (cisst_FOUND_AS_REQUIRED) | ||
|
||
# load cisst configuration | ||
include (${CISST_USE_FILE}) | ||
|
||
# catkin/ROS paths | ||
cisst_set_output_path () | ||
|
||
set (sawIntuitiveResearchKitConfigGenerator_FILES | ||
${sawIntuitiveResearchKitConfigGenerator_SOURCE_DIR}/calParser.py | ||
${sawIntuitiveResearchKitConfigGenerator_SOURCE_DIR}/dvrk-config-generator.py) | ||
|
||
add_custom_target (sawIntuitiveResearchKitConfigGenerator ALL) | ||
foreach (_file ${sawIntuitiveResearchKitConfigGenerator_FILES}) | ||
add_custom_command (TARGET sawIntuitiveResearchKitConfigGenerator PRE_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E | ||
copy ${_file} ${EXECUTABLE_OUTPUT_PATH}) | ||
endforeach () | ||
|
||
install ( | ||
FILES ${sawIntuitiveResearchKitConfigGenerator_FILES} | ||
COMPONENT sawIntuitiveResearchKit-Applications | ||
DESTINATION bin) | ||
|
||
endif (cisst_FOUND_AS_REQUIRED) |
Oops, something went wrong.