HomePhabricator
Diffusion MITK 77b74dbfc983

Move IGT and all dependent components into own MITK extension

Description

Move IGT and all dependent components into own MITK extension

Summary:

Third-party dependency changes

OpenCV and OpenIGTLink have been moved into rIGT MITK-IGT.

New MITK extension features
mitkFunctionAddExternalProject

Added PREPEND argument to mitkFunctionAddExternalProject.

Adds the external project to the front of the global external projects
list instead of to the end.

Customization of dependencies of external dependencies

Allow customization of external project dependencies.

For example, to enable OpenCV features of ITK, an extension author can add the following content to their CMakeExternals/Customization/ITK.cmake file (given, that they also use the PREPEND feature mentioned above):

set(CUSTOM_DEPENDENCIES
  OpenCV
)

set(CUSTOM_CMAKE_ARGS
  -DModule_ITKVideoBridgeOpenCV:BOOL=ON
  -DOpenCV_DIR:PATH=${OpenCV_DIR}
)
Doxygen EXAMPLE_PATHS

Make Doxygen EXAMPLE_PATHS customizable for MITK extensions.

Any *.cmake file in an <EXTENSION_ROOT>/Documentation folder is included
before MITK's Documentation/CMakeLists.txt is processed.

Use list(APPEND MITK_DOXYGEN_ADDITIONAL_EXAMPLE_PATHS ...) in such a file
to add additional example paths for Doxygen.

Fixes T30152.

Test Plan: CI. MITK-IGT is currently available in rIGT MITK-IGT until it will be imported by Alfred into a GitHub repository.

Reviewers: O3 MITK Reviewer Group II!, O1 MITK Reviewer Group I!

Maniphest Tasks: T30152

Differential Revision: https://phabricator.mitk.org/D901

Details

Provenance
kislinskAuthored on Feb 26 2024, 11:02 AM
kislinskPushed on Feb 26 2024, 3:33 PM
Differential Revision
Restricted Differential Revision
Parents
rMITK645e0d80b211: Make Doxygen EXAMPLE_PATHS customizable for MITK extensions
rMITKd6c982064317: Merge branch 'bugfix/T30336-FixFailingTestsOnWindowsCI' into develop
Branches
Unknown
Tags
Unknown
Tasks
T30152: Create an MITK extension for IGT&co and move code

Very Large Commit

This commit is very large, and affects more than 1000 files. Changes are not shown.