Development/Tutorials/CMake: Difference between revisions

From KDE TechBase
No edit summary
No edit summary
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/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.
* [[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==
* [[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 13:57, 28 July 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

Intermediate

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

Older material