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
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.
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 inCMAKE_INSTALL_PREFIX/mrtrix3
). Additionally, a newEXTERNAL_PROJECT_COMMAND
option is added toMakePythonExecutable.cmake
to appropriately set the relative location of MRtrix3 python library sources.Also supersedes #2909.