make PACKAGE does not work if no application is build
Open, HighPublic

Description

When building MITK for command line only (no Qt and no build BlueBerry app) make PACKAGE results in an empty directory, whether or not any cmd app is configured.

Related Objects

StatusAssignedTask
Opengoch
goch created this task.May 2 2017, 10:12 AM
goch added a project: Restricted Project.
goch added a parent task: Restricted Maniphest Task.
goch added a comment.EditedMay 4 2017, 10:36 AM

Adding

MITK_INSTALL_TARGETS(EXECUTABLES ${EXECUTABLE_TARGET} )

to the mitkFunctionCreateCommandLineApp.cmake will result in all libraries being copied. It slows the package creation to a crawl however (several hours for just the diffusion cmdApps). We should refactor the MITK_INSTALL_TARGETS macro to combat that intolerable slowdown.

The vast majority of time is spend in the _fixup_target() macro of mitkMacroInstall.cmake