Page MenuHomePhabricator

BuildConfigurations for external Projects
Closed, WontfixPublic

Description

At the moment the BuildConfiguration functionality could only be used by adding files to the MITK source code. The mitkFunctionEnableBuildConfiguration.cmake file just looks in the mitk CMake/BuildConfigurations folder. It would be nice if external users can create their own build configuration by adding an additional/external path to have a look for config files.

Event Timeline

There are two possibilities:

  1. External projects define own build configuration for their project

or/and

  1. External projects define own build configuration for MITK

First changes in personal/metzger/BuildConfigExternalProject

Stefan, can we discuss this today?

Now the cmake mitkFunctionBuildConfigurations.cmake can handle internal and external folder (users choice) to get the build config files. (personal branch)

Problems:

  • How can we set some mitk build (not superbuild) cmake configs from an external build configuration file

@Stefan: My cmake "know how" ends here. Can you please have a look on that?

One practical approach could be to try to iterate in the MITK-superbuild over all cache variables that begin with "MITK_BUILD_org.mitk." and pass them to MITK as CACHE_ARGS.

kislinsk claimed this task.
kislinsk added a project: Auto-closed.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.