MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
281 stars 176 forks source link

Changes to enable building of MRtrix3 extensions #2939

Open daljit46 opened 4 days ago

daljit46 commented 4 days ago

This PR will contain a bunch of changes related to #2901. The aim is to enable building MRtrix3 as a subproject of another CMake project. It provides the ability to set a MRTRIX_SUBPROJECT_INSTALL_PREFIX variable to choose an installation prefix where MRtrix3 will be installed (to enable the idea that when MRtrix3 is built as a subproject, its installation files will reside in CMAKE_INSTALL_PREFIX/mrtrix3). Additionally, a new EXTERNAL_PROJECT_COMMAND option is added to MakePythonExecutable.cmake to appropriately set the relative location of MRtrix3 python library sources.

Also supersedes #2909.

github-actions[bot] commented 4 days ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 4 days ago

clang-tidy review says "All clean, LGTM! :+1:"