Skip to content

Commit

Permalink
Merge pull request #94 from jhu-cisst/rc-1.2.0
Browse files Browse the repository at this point in the history
1.2.0
  • Loading branch information
adeguet1 authored Nov 21, 2023
2 parents bfb5450 + 06d543a commit 09e2d41
Show file tree
Hide file tree
Showing 159 changed files with 2,259 additions and 19,017 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/ubuntu-16.04.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/ubuntu-18.04.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Ubuntu 22.04
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, devel ]
branches: [ devel ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/windows-2016.yml

This file was deleted.

25 changes: 15 additions & 10 deletions .github/workflows/windows-2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install Qt
uses: jurplel/install-qt-action@v3

- name: Download cisstNetlib
run: |
cmake -E make_directory ${{github.workspace}}/cisstNetlib-build
Expand All @@ -36,15 +39,17 @@ jobs:
run: cmake ${{github.workspace}} -DCMAKE_BUILD_TYPE=Release -C ${{github.workspace}}/.github/workflows/cmake-windows-cache.cmake

- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --config Release

- name: Test
working-directory: ${{github.workspace}}/build
run: |
dir
./bin/cisstCommonTests -r
./bin/cisstVectorTests -r
./bin/cisstNumericalTests -r
./bin/cisstOSAbstractionTests -r
./bin/cisstParameterTypesTests -r
./cisstvars.bat Release
cmake --build . --config Release
# - name: Test
# working-directory: ${{github.workspace}}/build
# run: |
# dir
# ./bin/cisstCommonTests -r
# ./bin/cisstVectorTests -r
# ./bin/cisstNumericalTests -r
# ./bin/cisstOSAbstractionTests -r
# ./bin/cisstParameterTypesTests -r
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
Change log
==========

1.2.0 (2022-11-21)
==================

* API changes:
* None
* Deprecated features:
* cisstNetlib DOWNLOAD_NOW has been removed, cisstNetlib has to be compiled by the user. The process is automatic with ROS1/catkin and ROS2/colcon
* ICE support has been removed
* `CISST_VERSION` is now `cisst_VERSION`
* New features:
* CMake:
* Updated install targets and debian packages generation
* Works with ROS2/colcon
* New CMake macros to simplify CMakeLists.txt for SAW components
* cisstCommon:
* cmnCommandLineOptions:
* Overloaded Parse method to display the error message and usage if needed
* Overloaded Parse methods to support std::vector<std::string>
* cmnPath: added static method RenameFile
* cisstOSAbstraction: added definition for baud rates 230400 and 460800 for osaSerialPort
* cisstVector:
* vctDataFunctionsTransformationsJSON: normalize rotation matrices after de-serialization
* Added c{,r}{begin,end} for dynamic vectors
* cisstMultiTask:
* Uses "new" features by default
* Added mtsStateTableFilter and mtsInterfaceProvided::AddCommandFilteredReadState
* mtsInterfaceProvided: added method to get class services for argument types
* cisstParameterTypes:
* Added prmForceCartesianGetQtWidget
* Ported prmForceTorqueJointSet to use cisstDataGenerator
* Added data typed for kinematics queries
* Bug fixes:
* General: fixes for new compilers warnings
* CMake:
* Improved DirectShow Find Module for Windows 10 SDKs (#85)
* cisstMacros.cmake:
* Added missing executable output path in cisst_set_output_path
* Set CMake policy CMP0026 to OLD
* Fixed CMake for Qt5 using `Qt5::`
* cisstDataGenerator:
* Fixed enum defined under namespace
* cisstMultiTask:
* Added missing mtsComponentConstructorArg
* cisstParameterTypes:
* Fixed data member initialization in `.cdg` files (`prmPositionCartesianSet`, `prmVelocityCartesianSet`, `prmCartesianImpedanceGains`, `prmPositionJointSet`, `prmStateJoint`...)
* cisstMesh:
* Added missing CISST_EXPORT

1.1.0 (2021-04-04)
==================

Expand Down
60 changes: 26 additions & 34 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## -*- Mode: CMAKE; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-

#
# (C) Copyright 2005-2020 Johns Hopkins University (JHU), All Rights Reserved.
# (C) Copyright 2005-2021 Johns Hopkins University (JHU), All Rights Reserved.
#
# --- begin cisst license - do not edit ---
#
Expand All @@ -13,13 +13,13 @@


# Backward compatibility
cmake_minimum_required (VERSION 2.6.2)
cmake_minimum_required (VERSION 3.0)

# cisst (Computer Integrated Surgical Systems and Technology): www.cisst.org/cisst
project (cisst)
# cisst (Computer Integrated Surgical Systems and Technology)
project (cisst VERSION 1.2.0)

# cisst compiler settings
include (cisstSettings.cmake)
include (cmake/cisstSettings.cmake)

# To organize targets in folders
option (CISST_USE_FOLDERS "Use folders to organize cisst in IDE (Visual Studio, ...)" OFF)
Expand Down Expand Up @@ -68,18 +68,15 @@ else (CISST_BUILD_SHARED_LIBS)
endif (CISST_BUILD_SHARED_LIBS)

# Set the version number
set (CISST_VERSION_MAJOR "1")
set (CISST_VERSION_MINOR "1")
set (CISST_VERSION_PATCH "0")
set (CISST_VERSION "${CISST_VERSION_MAJOR}.${CISST_VERSION_MINOR}.${CISST_VERSION_PATCH}")
set (cisst_VERSION "${cisst_VERSION_MAJOR}.${cisst_VERSION_MINOR}.${cisst_VERSION_PATCH}")

# To compile examples within this project
set (CURRENT_PROJECT_IS_CISST ON)

# The upper case variables have been used in the past and need to be preserved
set (CISST_BINARY_DIR "${cisst_BINARY_DIR}")
set (CISST_SOURCE_DIR "${cisst_SOURCE_DIR}")
set (CISST_SHARE_INSTALL_SUFFIX "share/cisst-${CISST_VERSION_MAJOR}.${CISST_VERSION_MINOR}")
set (CISST_SHARE_INSTALL_SUFFIX "share/cisst-${cisst_VERSION_MAJOR}.${cisst_VERSION_MINOR}")
set (CISST_SHARE_DIR "${CISST_BINARY_DIR}/${CISST_SHARE_INSTALL_SUFFIX}")
set (CISST_CMAKE_INSTALL_SUFFIX "${CISST_SHARE_INSTALL_SUFFIX}/cmake")
set (CISST_CMAKE_MODULES_INSTALL_SUFFIX "${CISST_SHARE_INSTALL_SUFFIX}/cmake/Modules")
Expand Down Expand Up @@ -530,7 +527,7 @@ configure_file ("${CISST_CMAKE_SOURCE_DIR}/cisst-config.cmake.in"

# Version file
cisst_add_config_version ("${CISST_PACKAGE_CONFIG_DIRECTORY}/cisst-config-version.cmake"
VERSION ${CISST_VERSION}
VERSION ${cisst_VERSION}
DESTINATION ${CISST_CMAKE_INSTALL_SUFFIX}
COMPONENT cisstCommon)

Expand All @@ -547,25 +544,19 @@ install (FILES "${cisst_BINARY_DIR}/cisst-config.cmake-to-be-installed"
COMPONENT cisstCommon)

# CMake use cisst file
configure_file ("${CISST_CMAKE_SOURCE_DIR}/Usecisst.cmake"
"${CISST_CMAKE_BINARY_DIR}/Usecisst.cmake"
COPYONLY)
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/cisstSettings.cmake"
"${CISST_CMAKE_BINARY_DIR}/cisstSettings.cmake"
COPYONLY)
configure_file ("${CISST_CMAKE_SOURCE_DIR}/cisstMacros.cmake"
"${CISST_CMAKE_BINARY_DIR}/cisstMacros.cmake"
COPYONLY)
configure_file ("${CISST_CMAKE_SOURCE_DIR}/cisstConfigVersion.cmake.in"
"${CISST_CMAKE_BINARY_DIR}/cisstConfigVersion.cmake.in"
COPYONLY)

install (FILES "${CISST_CMAKE_BINARY_DIR}/Usecisst.cmake"
"${CISST_CMAKE_BINARY_DIR}/cisstSettings.cmake"
"${CISST_CMAKE_BINARY_DIR}/cisstMacros.cmake"
"${CISST_CMAKE_BINARY_DIR}/cisstConfigVersion.cmake.in"
DESTINATION ${CISST_CMAKE_INSTALL_SUFFIX}
COMPONENT cisstCommon)
set (CISST_CMAKE_FILES_TO_COPY
Usecisst.cmake cisstSettings.cmake cisstMacros.cmake cisstConfigVersion.cmake.in
sawRevision.h.in sawConfig.cmake.in sawConfigVersion.cmake.in)
foreach (cmake_file_to_copy ${CISST_CMAKE_FILES_TO_COPY})
# copy to build for users not installing
configure_file ("${CISST_CMAKE_SOURCE_DIR}/${cmake_file_to_copy}"
"${CISST_CMAKE_BINARY_DIR}/${cmake_file_to_copy}"
COPYONLY)
# and install
install (FILES "${CISST_CMAKE_BINARY_DIR}/${cmake_file_to_copy}"
DESTINATION ${CISST_CMAKE_INSTALL_SUFFIX}
COMPONENT cisstCommon)
endforeach ()

# Configuration file
set (CISST_SOURCE_DIR ${cisst_SOURCE_DIR})
Expand Down Expand Up @@ -600,6 +591,7 @@ endif (NOT UNIX)
if (UNIX)
set (CPACK_GENERATOR "STGZ;TGZ;DEB")
set (CPACK_DEBIAN_PACKAGE_MAINTAINER "anton.deguet@jhu.edu")
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
endif ()

# For now, enable all default libraries (even if not compiled)
Expand All @@ -610,10 +602,10 @@ if (CISST_cisstCommonXML) # we can only test CISST_XML_LIB if cisstCommonXML is
endif (${CISST_XML_LIB} STREQUAL "LibXml2")
endif (CISST_cisstCommonXML)
set (CPACK_PACKAGE_VENDOR "JHU")
set (CPACK_PACKAGE_VERSION "${CISST_VERSION}")
set (CPACK_PACKAGE_VERSION_MAJOR ${CISST_VERSION_MAJOR})
set (CPACK_PACKAGE_VERSION_MINOR ${CISST_VERSION_MINOR})
set (CPACK_PACKAGE_VERSION_PATCH ${CISST_VERSION_PATCH})
set (CPACK_PACKAGE_VERSION "${cisst_VERSION}")
set (CPACK_PACKAGE_VERSION_MAJOR ${cisst_VERSION_MAJOR})
set (CPACK_PACKAGE_VERSION_MINOR ${cisst_VERSION_MINOR})
set (CPACK_PACKAGE_VERSION_PATCH ${cisst_VERSION_PATCH})
set (CPACK_RESOURCE_FILE_LICENSE "${cisst_SOURCE_DIR}/license.txt")
set (CPACK_PACKAGE_INSTALL_DIRECTORY "cisst")
set (CPACK_COMPONENT_CISSTCOMMON_REQUIRED ON)
Expand Down
Loading

0 comments on commit 09e2d41

Please sign in to comment.