Page MenuHomePhabricator

diffusionApp installer should not contain the coreApp
Closed, ResolvedPublic

Description

following new lines of code in the Top-Level CmakeList.txt file fix the problem:

  1. Installation preparation #
  2. These should be set before any MITK install macros are used #-----------------------------------------------------------------------------
  1. on Mac OSX all BlueBerry plugins get copied into every
  2. application bundle (.app directory) specified here

if(MITK_USE_BLUEBERRY AND APPLE)

include("${CMAKE_CURRENT_SOURCE_DIR}/Applications/AppList.cmake")

foreach(mitk_app ${MITK_APPS})
  # extract option_name
  string(REPLACE "^^" "\\;" target_info ${mitk_app})
  set(target_info_list ${target_info})
  list(GET target_info_list 1 option_name)
  list(GET target_info_list 0 app_name)
  # check if the application is enabled
  if(${option_name})
    set(MACOSX_BUNDLE_NAMES ${MACOSX_BUNDLE_NAMES} ${app_name})
  endif()
endforeach()

endif()

Related Objects

Event Timeline

[d1be57]: Merge branch 'bug-11850-appleInstaller'

Merged commits:

2012-05-04 15:54:27 Jonas Cordes [f97d4d]
add CPack changes for apple installer