Skip to content

(CMake): C++17 support

Flavien BRIDAULT requested to merge 316-cmake-c-17-support into dev

What does this MR do?

This updates our Sight build to use C++17 standard. Almost everything compiles fine except some obsolete functions that were already deprecated in C++11 : std::unary_function and std::binary_function. They were easily replaced by lambdas.

Some modifications were also needed from some of our dependencies:

  • Camp (patched upstream)
  • ITK (updated to 5.0.1)
  • Flann (imported patch from upstream)
  • Sofa (updated to 19.06.01 just for the fun, and patched with our own skills ^^ )

How to test it?

Build and run !

Associated Issues/Merge Requests

  • Issues

  • Merge requests

    • Depends on conan/conan-flann!3
    • Depends on conan/conan-itk!4
    • Depends on conan/conan-camp!5
    • Depends on conan/conan-pcl!6
    • Depends on conan/conan-sofa!6
    • Depends on conan/conan-mregistration!8
Edited by Flavien BRIDAULT

Merge request reports