Development/CMake: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
(25 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== CMake and KDE4 ==
 
Are you interested in writing applications with KDE 4? This tutorial series is aimed at those completely new to KDE programming.
 
This is the central directory of all [http://www.cmake.org CMake]-related pages on TechBase.
 
== KDE4 Specific CMake Documentation==
 
;[[Development/Tutorials/CMake|CMake tutorial]]
;[[Development/Tutorials/CMake|CMake tutorial]]
:''An introduction to using CMake for KDE4''
:''An introduction to using CMake for KDE4''


;[[DevelopmentAutomoc4|Automoc4]]
;[[Development/CMake_FAQ|KDE's CMake FAQ]]
:''Some Frequently Asked Questions''
 
;[http://api.kde.org/cmake/modules.html KDE CMake modules API]
:''Documentation for all CMake modules in kdelibs (generated from kdelibs svn)''
 
;[[Development/CMake/DashboardBuilds|Nightly dashboard builds for KDE]]
: ''Describes the quality dashboard for KDE and how to set up Nightly builds for it''
 
;[[Development/CMake/Addons for KDE|KDE4 CMake Buildtypes, macros and variables]]
:''Documentation for the buildtypes (debugfull, release, ...), macros and variables for building KDE4 software, provided by FindKDE4Internal.cmake (manually written)''
 
;[[Development/Tools/Automoc4|Automoc4]]
:''Automoc4 documentation.''
:''Automoc4 documentation.''
;[[Development/CMake/Python|CMake for Python projects]]
:''How to integrate a Python project into the KDE4 cmake system.''
==Policies==
;[[Policies/CMake_Commit_Policy|Commit Policy for kdelibs/cmake/modules/]]
:''The files in kdelibs/cmake/modules/ are part of the public interface of KDE, some special policies apply to committing there.''


;[[Policies/CMake_and_Source_Compatibility|Source compatiblity with CMake]]
;[[Policies/CMake_and_Source_Compatibility|Source compatiblity with CMake]]
Line 13: Line 38:
:''Some guidelines how to write CMake scripts in KDE.''
:''Some guidelines how to write CMake scripts in KDE.''


;[[Automoc4|Automoc4]]
==Changelog for KDE's CMake buildsystem==
:''Automoc4 documentation.''
 
;[[Development/CMake_KDE_4_5 |Changes in the buildsystem with KDE 4.5]]
:''What has changed in KDE 4.5 compared to KDE 4.4''
 
;[[Development/CMake_KDE_4_4 |Changes in the buildsystem with KDE 4.4]]
:''What has changed in KDE 4.4 compared to KDE 4.3''
 
;[[Development/CMake_KDE_4_3 |Changes in the buildsystem with KDE 4.3]]
:''What has changed in KDE 4.3 compared to KDE 4.2''
 
;[[Development/CMake_KDE_4_2 |Changes in the buildsystem with KDE 4.2]]
:''What has changed in KDE 4.2 compared to KDE 4.0/4.1''
 
==Extra-CMake-Modules==
* [[Development/ECM_SourceIncompatChanges|Source Incompatible changes]]
 
==More Places to learn about CMake==
 
Here are some good places to learn about CMake in general:
* [http://www.cmake.org/HTML/Documentation.html CMake Manual]
* [http://www.cmake.org/Wiki/CMake CMake Wiki]
* [http://www.cmake.org/Wiki/CMake_HowToDoPlatformChecks CMake System Checks ]
* [http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftware Finding Optional Packages ]
* [http://www.cmake.org/Wiki/HowToBuildKDE4Software KDE 4 Tutorial at the CMake Wiki ]
* [http://www.cmake.org/Wiki/CMake_FAQ CMake FAQ]
* [http://www.elpauer.org/stuff/learning_cmake.pdf Slides for the "Learning CMake" seminar]
* [http://mail.kde.org/pipermail/kde-buildsystem/ The kde-buildsystem Mailing List Archive]
 
Also, consider joining the [http://www.cmake.org/mailman/listinfo/cmake CMake mailing list].

Revision as of 15:55, 15 July 2012


This is the central directory of all CMake-related pages on TechBase.

KDE4 Specific CMake Documentation

CMake tutorial
An introduction to using CMake for KDE4
KDE's CMake FAQ
Some Frequently Asked Questions
KDE CMake modules API
Documentation for all CMake modules in kdelibs (generated from kdelibs svn)
Nightly dashboard builds for KDE
Describes the quality dashboard for KDE and how to set up Nightly builds for it
KDE4 CMake Buildtypes, macros and variables
Documentation for the buildtypes (debugfull, release, ...), macros and variables for building KDE4 software, provided by FindKDE4Internal.cmake (manually written)
Automoc4
Automoc4 documentation.
CMake for Python projects
How to integrate a Python project into the KDE4 cmake system.


Policies

Commit Policy for kdelibs/cmake/modules/
The files in kdelibs/cmake/modules/ are part of the public interface of KDE, some special policies apply to committing there.
Source compatiblity with CMake
This page discusses what has to be taken care of in order to stay source compatible on the CMake level.
Coding style for CMake files
Some guidelines how to write CMake scripts in KDE.

Changelog for KDE's CMake buildsystem

Changes in the buildsystem with KDE 4.5
What has changed in KDE 4.5 compared to KDE 4.4
Changes in the buildsystem with KDE 4.4
What has changed in KDE 4.4 compared to KDE 4.3
Changes in the buildsystem with KDE 4.3
What has changed in KDE 4.3 compared to KDE 4.2
Changes in the buildsystem with KDE 4.2
What has changed in KDE 4.2 compared to KDE 4.0/4.1

Extra-CMake-Modules

More Places to learn about CMake

Here are some good places to learn about CMake in general:

Also, consider joining the CMake mailing list.