Page MenuHomePhabricator

Disable build of IGT-Tutorial when MITK_BUILD_IGT is OFF...
Closed, InvalidPublic

Description

... else the nightly dart tests fail when all bundles are build.

Event Timeline

IGTTutorialStep1 should only be build, if MITK_BUILD_IGT is ON, because it is defined in the IGT Module, which is only included if the variable is set to ON:

OPTION(MITK_BUILD_IGT "Build the MITK image guided therapy library" OFF)
IF(MITK_BUILD_IGT)

ADD_SUBDIRECTORY(IGT)

ENDIF()

The IGTTutorial view should also only be build, if MITK_BUILD_IGT is set to on:

IF(MITK_BUILD_IGT)

MACRO_CREATE_MITK_PLUGIN(QmitkExt MitkIGT)

ELSE(MITK_BUILD_IGT)

MACRO_PARSE_MANIFEST("${CMAKE_CURRENT_SOURCE_DIR}/META-INF/MANIFEST.MF")
MESSAGE(SEND_ERROR "The plug-in ${BUNDLE-SYMBOLICNAME} depends on MITK-IGT. Set the MITK_BUILD_IGT variable to ON.")

ENDIF(MITK_BUILD_IGT)

Or do you think that the message in the else part causes the error?

Tobi,

does this problem still exist? There is no more MITK_BUILD_IGT option in CMake...

No. IGT Tutorial is now always on, too.
-> Invalid

kislinsk changed the task status from Invalid to Spite.Jun 27 2018, 1:33 PM
kislinsk added a project: Bulk Edit.
kislinsk changed the task status from Spite to Invalid.Jun 27 2018, 1:37 PM
kislinsk removed a project: Bulk Edit.