Page MenuHomePhabricator

Use CMake external projects support aka superbuild
Closed, ResolvedPublic

Event Timeline

[SVN revision 28878]
ENH (#6517): first working version of superbuild

[SVN revision 28884]
COMP (#6517): CMake configure error

[SVN revision 29177]
FIX (#6517): quoting of CXX_FLAGS in superbuild

[SVN revision 29178]
FIX (#6517): VTK Freetype and DCMTK root uid support in superbuild

[SVN revision 29179]
ENH (#6517): support for GDCM in superbuild

[SVN revision 29181]
FIX (#6517): DCMTK directory layout in superbuild

[SVN revision 29202]
ENH (#6517): make more CMake options available in MITK superbuild

[SVN revision 29214]
FIX (#6517): make superbuild work again

[SVN revision 29352]
FIX (#6517): use DCMTK with standard flags also on windows, pass c flags

[SVN revision 29353]
FIX (#6517): remove flawed compiler version detection on Windows since it disturbs the superbuild

[SVN revision 29354]
FIX (#6517): set correct cxx default flags also for MITK in superbuild

We should pass the CMAKE_C_COMPILER and CMAKE_CXX_COMPILER variables to external projects.

Otherwise, if you start cmake with:

cmake -DCMAKE_C_COMPILER:FILEPATH=/usr/lib64/icecc/bin/gcc ...

and type 'make -j 40', the system may run out of memory because external projects are not using icecream but still seem to run with a high number of threads.

Granting core modification, I checked the branch.

[992e98]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits from topic branch:

[32ea11]: Buildsystem cleanup

[ebd862]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits from topic branch:

(Sascha Zelzer) [806a33]: Added missing external project variables in MITKConfig.cmake
(Sascha Zelzer) [253c92]: Cleanup ExtApp bundle dependencies.
(Sascha Zelzer) [cb3451]: Fixed Windows batch script generation for app startup.
(Sascha Zelzer) [6e8aa4]: Only substitute @ variables in MITKConfig.cmake.in

[22f7c7]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits from topic branch:

(Sascha Zelzer) [eca404]: Remove org.mitk.gui.qt.diffusionimaging from superbuild bundles
(Sascha Zelzer) [75d7c2]: Set BLUEBERRY_BUILD_ALL_PLUGINS to ON if MITK_BUILD_ALL_PLUGINS is ON.   (Andreas Fetzer) [a425fd]: Fixed initial cmake_cxx_flags for win64

Der letzte Merge wurde leider nicht automatisch eingetragen, wahrscheinlich ein E-Mail-Mismatch oder so:

[1b90617f7]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits from topic branch:

(Markus Engel/Daniel Maleike) [9bd0a74ea]: correctly set DCMTK_DIR (missing $)

[2b52df]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits:

2011-02-25 13:36:18 Sascha Zelzer [81e9d6]
Fixed the CheckCompilerFlags function to use unique flags.


2011-02-25 11:31:30 Sascha Zelzer [4f033c]
Use CMAKE_C(XX)_COMPILER variable in external projects.


2011-02-25 10:35:22 Sascha Zelzer [bb890b]
Fix CRLF

[7a8c3a]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-02-28 02:52:09 Sascha Zelzer [b21b6d]
Fixed lookup of module package deps

[c356cc]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-02 11:48:39 Markus Engel [5f249b]
corrected grouping of flags


2011-03-02 09:37:59 Markus Engel [dcfafb]
adding possibility to use user defined compiler flags

adding possibility to use user defined compiler flags for debug, release &
relwithdebinfo


2011-03-01 11:02:14 Markus Engel [5f2b22]
Using currently set debug compiler flags for dependencies

The debug compiler flags that are set in the current .cmake file
will be used for all dependencies (ITK, VTK, etc.)

[ad38c9]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-16 16:09:09 Sascha Zelzer [da0c5b]
Added missing OpenCV dependency


2011-03-16 15:52:36 Sascha Zelzer [aeeb4b]
Superbuild now supports building OpenCV 2.2.0

[05df29]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-17 13:52:54 Sascha Zelzer [1788dc]
Add a module dependency on EP_MITK

[b7337b]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-18 19:00:02 Sascha Zelzer [a32975]
Use different project name for superbuild

[073be2]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-18 19:17:09 Sascha Zelzer [3eb812]
Use correct project name in CTestConfig.cmake


2011-03-18 19:15:24 Sascha Zelzer [549e2a]
Merge branch 'bug-7014-dashboard-script' into bug-6517-mitk-superbuild

[f9b7da]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-19 11:17:14 Sascha Zelzer [961705]
Enable OpenCV for dartclients

[8dabb5]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-19 13:41:02 Sascha Zelzer [185d90]
Correctly set superbuild label

[e17e14]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-19 14:25:01 Sascha Zelzer [6d2757]
Doxygen variables cleanup

[c21c84]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-22 18:02:11 Sascha Zelzer [66b1cb]
Always configure mitkTestingConfig.h, removed unnecessary includes.


2011-03-22 18:01:43 Sascha Zelzer [bcb21a]
Do not add the EP_MITK target to modules anymore.

[18f747]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-23 22:42:20 Sascha Zelzer [b93ede]
Use the git.mitk.org repository for dartclients

[cb966a]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-25 18:00:01 Sascha Zelzer [9dd22e]
Refactored code into functions and using cdash web admin

[52b6b7]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-26 12:52:17 Sascha Zelzer [2d06ed]
Submit the Update part after the Configure part.

This fixes the CDash problem with incorrect summaries of test runs.

[ef1207]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-26 17:06:31 Sascha Zelzer [1c79cc]
Always reset force_build variable to original value

[589cba]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-27 16:50:19 Sascha Zelzer [8c30f7]
Move MITK specific cache vars from driver to setup script.


2011-03-27 16:49:28 Sascha Zelzer [fc7910]
Added OpenCV binary dir to path for Windows tests.

[de0ac2]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-27 18:42:33 Sascha Zelzer [f78534]
Only warn if variable name is wrong (for now)


2011-03-27 18:39:02 Sascha Zelzer [78a08d]
Fixed wrong variable name

[40f61e]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-27 19:27:31 Sascha Zelzer [bc572c]
Fixed wrong CMake variable name

[44af99]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-27 20:01:44 Sascha Zelzer [cf8625]
Don't require variable in driver script

[3d06e3]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-27 22:16:01 Sascha Zelzer [9a3bf9]
Fixed CMake variable name (initial_force_build)

[9b9d0e]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-03-28 16:10:07 Sascha Zelzer [1c1b8a]
Only send dartclient status if we atcually did something

[efbb5b]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-06 14:42:56 Sascha Zelzer [5def2f]
COMP: Added ctest drop site and project parameters

[c8295d]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-07 13:09:58 Sascha Zelzer [3a23e4]
Make CMAKE_C*_FLAGS variable cache entries

[c6ce9b]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-09 16:39:00 Sascha Zelzer [d8ccc4]
Tell ctest to use correct project names (sln files) for superbuild

[98c487]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits:

2011-04-11 15:26:41 Sascha Zelzer [c481cb]
Create MITK_CMAKE_${type}_OUTPUT_DIRECTORY dirs and pass through superbuild

[07e138]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-15 10:18:40 Sascha Zelzer [f04380]
New superbuild option to enable/disable OpenCV Python support.


2011-04-15 10:18:17 Sascha Zelzer [f84371]
Use Windows specific OpenCV source package.

[9a2c4b]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-15 11:10:28 Sascha Zelzer [2021a7]
The variable CTEST_PROJECT_ADDITIONAL_TARGETS can now be used

Set this variable in your dartclient script to build targets which
are usually not included in "make all".

[ef56ab]: Merge branch 'bug-6517-mitk-superbuild'

  • bug-6517-mitk-superbuild:

Merged commits:

2011-04-15 13:40:13 Sascha Zelzer [0ca4f6]
Removed quoting

[58e5ea]: Merge branch 'bug-6517-mitk-superbuild'

Merged commits:

2011-05-11 19:07:52 Sascha Zelzer [f487f4]
Don't set compiler flags as cache variables

They were added recursively on each cmake configuration, hence
forcing an entire rebuild