Development/Tutorials/CMake: Difference between revisions

From KDE TechBase
No edit summary
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


Reference documentation for using CMake with KDE software can be found at [[Development/CMake]].
Reference documentation for using CMake with KDE software can be found at [[Development/CMake]].
==Beginners==


* [[Development/Tutorials/CMake/FirstProject|A first CMake project]]: if you've never even looked at CMake code before, start here.
* [[Development/Tutorials/CMake/FirstProject|A first CMake project]]: if you've never even looked at CMake code before, start here.
* [[Development/Tutorials/CMake/IntroducingEcm|Introducing ECM]]: introduces you to using extra-cmake-modules, a collection of extensions to CMake maintained by KDE.
* [[Development/Tutorials/CMake/Frameworks|Using a framework]]: introduces you to using a KDE Framework - finding the package and linking your program against it.
 
==Intermediate==
 
* [[Development/Tutorials/CMake/Library|Creating a library]]: demonstrates best practices when creating a library with a CMake-based buildsystem (such as a KDE Framework).
 
==Older material==
 
* [[Development/Tutorials/CMake/KDE4|KDELibs4-based projects]]
* [[Development/Tutorials/CMake/KDE4|KDELibs4-based projects]]

Revision as of 14:22, 16 August 2015

This page contains some tutorials to help you get started on building a CMake-based buildsystem. This is the recommended way of building your software if you use KDE technologies, such as KDE Frameworks.

Reference documentation for using CMake with KDE software can be found at Development/CMake.

Beginners

  • A first CMake project: if you've never even looked at CMake code before, start here.
  • Using a framework: introduces you to using a KDE Framework - finding the package and linking your program against it.

Intermediate

  • Creating a library: demonstrates best practices when creating a library with a CMake-based buildsystem (such as a KDE Framework).

Older material