Development/Tutorials/CMake: Difference between revisions

From KDE TechBase
No edit summary
Line 6: Line 6:


* [[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/Frameworks|Using a framework]]: introduces you to using a KDE Framework - finding the package and linking your program against it..
* [[Development/Tutorials/CMake/Frameworks|Using a framework]]: introduces you to using a KDE Framework - finding the package and linking your program against it.
* [[Development/Tutorials/CMake/Installation|Installing your project]]: how to use the [http://api.kde.org/ecm/kde-module/KDEInstallDirs.html KDEInstallDirs] module from [http://api.kde.org/ecm/manual/ecm.7.html Extra CMake Modules] to determine where an executable should be installed, then tell CMake to install it there.


==Intermediate==
==Intermediate==

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