Commit 1283058c authored by jcfr's avatar jcfr

COMP: Add Slicer_BUILD_BRAINSTOOLS option at superbuild level.

Doing so will allow to dashboard to either enable or disable the built
of that module.

Note that the module is currently disable since the associated CLI
libraries can't be properly loaded in Slicer and also because the mac bundle
failed to be generated if it is enabled.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16804 3bd1e089-480b-0410-8dfb-8563597acbee
parent bea5efda
......@@ -132,6 +132,12 @@ MARK_AS_ADVANCED(Slicer_ITK_GIT_REPOSITORY)
SET(Slicer_ITK_GIT_TAG "origin/slicer-4.0" CACHE STRING "ITK git tag to use")
MARK_AS_ADVANCED(Slicer_ITK_GIT_TAG)
# TODO: Option allowing to enable/disable specific module should be automatically added
# The following option has been added for conveniency so that BRAINSTOOL module can be
# enabled/disabled at the superbuild level.
OPTION(Slicer_BUILD_BRAINSTOOLS "Build the BRAINS subset of registration and segmentation tools." OFF)
MARK_AS_ADVANCED(Slicer_BUILD_BRAINSTOOLS)
#-----------------------------------------------------------------------------
# Install no development files by default, but allow the user to get
# them installed by setting Slicer_INSTALL_DEVELOPMENT to true.
......
......@@ -277,6 +277,8 @@ ExternalProject_Add(${proj}
-DCTK_DIR:PATH=${CTK_DIR}
# CTKAppLauncher
-DCTKAPPLAUNCHER_DIR:PATH=${CTKAPPLAUNCHER_DIR}
# BRAINSTOOLS module
-DBUILD_BRAINSTOOLS:BOOL=${Slicer_BUILD_BRAINSTOOLS}
INSTALL_COMMAND ""
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment