Frameworks/Epics/CMake: Difference between revisions

From KDE Community Wiki
Line 31: Line 31:
{{FeatureDone|Come to a decision how to deal with pkg-config under Windows (and OSX ?). Input needed, especially from Windows and OSX developers. We'll trust pkg-config output also on Windows, see http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/39446 |Alex Neundorf}}
{{FeatureDone|Come to a decision how to deal with pkg-config under Windows (and OSX ?). Input needed, especially from Windows and OSX developers. We'll trust pkg-config output also on Windows, see http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/39446 |Alex Neundorf}}
{{FeatureDone|Figure out how to define the default library install dir, taking Debian multiarch into account. See GNUInstallDirs.cmake in cmake master, which will become 2.8.8. |Alex Neundorf}}
{{FeatureDone|Figure out how to define the default library install dir, taking Debian multiarch into account. See GNUInstallDirs.cmake in cmake master, which will become 2.8.8. |Alex Neundorf}}
{{FeatureTodo|
{{FeatureDone|Figure out how to deal with the install dirs in general:
Figure out how to deal with the install dirs in general:
* use GNUInstallDirs.cmake coming with cmake ?
* use GNUInstallDirs.cmake coming with cmake ?
* keep the support for "if I install to the same prefix as kdelibs (...what  
* keep the support for "if I install to the same prefix as kdelibs (...what  
is kdelibs then ?), I want the same set of install dir", |Alex Neundorf}}
is kdelibs then ?), I want the same set of install dir", see "KDE-buildsystem-basics package ?" thread on kde-frameworks-devel  |Alex Neundorf}}
{{FeatureTodo|
{{FeatureDone|Figure out what to do with all the macros and settings currently in FindKDE4Internal.cmake and KDE4Macros.cmake, see see "KDE-buildsystem-basics package ?" thread on kde-frameworks-devel |Alex Neundorf, Stephen Kelly}}
Figure out what to do with all the macros and settings currently in FindKDE4Internal.cmake and KDE4Macros.cmake.|Alex Neundorf, Stephen Kelly}}
{{FeatureInProgress|Make creating Config.cmake easier, by implementing some helper macros or files, and improve the example in kdeexamples/buildsystem/HowToInstallALibrary/, so it can serve as reference
{{FeatureInProgress|Make creating Config.cmake easier, by implementing some helper macros or files, and improve the example in kdeexamples/buildsystem/HowToInstallALibrary/, so it can serve as reference
|Alex Neundorf, Yuri Kudryashov}}
|Alex Neundorf, Yuri Kudryashov}}
Line 46: Line 44:
|}
|}


=== February/March Iteration ===
=== February Iteration ===
 
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
|- style="background: #ececec; white-space:nowrap;"
! Status
! Description
!  width=120 | Contact
|-
{{FeatureInProgress|
It would be nice if we could get Windows and OSX developers more actively
involved with KF5.|Kevin Ottens}}
|}
 
=== Some Iteration ===


{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
{| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width:100%;"
Line 58: Line 69:
http://techbase.kde.org/Development/ECM_SourceIncompatChanges
http://techbase.kde.org/Development/ECM_SourceIncompatChanges
|??}}
|??}}
{{FeatureInProgress|
It would be nice if we could get Windows and OSX developers more actively
involved with KF5.|Kevin Ottens}}
|}
|}

Revision as of 19:34, 24 January 2012

CMake Required Features and Migration Epic

Forewords

Roughly this epic is about CMake upstream contributions we need done, getting stuff into the extra-cmake-modules (e-c-m) project and the tooling around that to allow our developers to build the whole lot.

Definition of Done

Backlog

January Iteration

Status Description Contact
DONE Upstream automoc into cmake. Done since 2.8.6. Alex Neundorf
DONE Extend FeatureSummary.cmake to make MacroLogFeature.cmake unnecessary. Done since 2.8.6. Alex Neundorf
DONE Merge MacroOptionalFindPackage.cmake in CMake. find_package() has been extended with 2.8.6 so that this is not necessary anymore. Alex Neundorf
DONE Create project extra-cmake-modules for distributing additional Find-modules Alex Neundorf
DONE Sync our Find-modules from kdelibs/cmake/modules/ with the ones in CMake. Done with CMake 2.8.7 Alex Neundorf
DONE Merge our export-header stuff into cmake. Done with CMake 2.8.6 Stephen Kelly
IN PROGRESS Merge or make unnecessary a whole bunch of macros from kdelibs/cmake/modules/. Mostly done. Details see KDE_Core/Platform_11/Buildsystem/FindFilesSurvey Alex Neundorf, Stephen Kelly
IN PROGRESS Merge HandleImportedTargetsInCMakeRequiredLibraries.cmake into CMake Alex Neundorf
DONE Design and implement mechanism to make extra-cmake-modules flexible usable, also for non-KDE-projects. This is now done via the macro ecm_use_find_modules(). Alex Neundorf
DONE Come to a decision how to deal with pkg-config under Windows (and OSX ?). Input needed, especially from Windows and OSX developers. We'll trust pkg-config output also on Windows, see http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/39446 Alex Neundorf
DONE Figure out how to define the default library install dir, taking Debian multiarch into account. See GNUInstallDirs.cmake in cmake master, which will become 2.8.8. Alex Neundorf
DONE Figure out how to deal with the install dirs in general:
  • use GNUInstallDirs.cmake coming with cmake ?
  • keep the support for "if I install to the same prefix as kdelibs (...what

is kdelibs then ?), I want the same set of install dir", see "KDE-buildsystem-basics package ?" thread on kde-frameworks-devel

Alex Neundorf
DONE Figure out what to do with all the macros and settings currently in FindKDE4Internal.cmake and KDE4Macros.cmake, see see "KDE-buildsystem-basics package ?" thread on kde-frameworks-devel Alex Neundorf, Stephen Kelly
IN PROGRESS Make creating Config.cmake easier, by implementing some helper macros or files, and improve the example in kdeexamples/buildsystem/HowToInstallALibrary/, so it can serve as reference Alex Neundorf, Yuri Kudryashov
TO DO Review the Find-modules in kdelibs (over 100), and find out which ones are

currently needed in the frameworks branch. Here is an overview over the current state: http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey

Alex Neundorf <{{{3}}}>

February Iteration

Status Description Contact
IN PROGRESS

It would be nice if we could get Windows and OSX developers more actively involved with KF5.

Kevin Ottens

Some Iteration

Status Description Contact
IN PROGRESS Make superbuilds robust and usable. This will make building all the small git repositories easier. See https://projects.kde.org/projects/kde/superbuild Alex Neundorf
TO DO somebody has to do the actual porting. Back in the KDE3->KDE4 days Laurent Montel did most of this work. Here is a (hopefully) complete list of changes:

http://techbase.kde.org/Development/ECM_SourceIncompatChanges

?? <{{{3}}}>