Difference between revisions of "CMake"

From KitwarePublic
Jump to navigationJump to search
Line 13: Line 13:
* [[CMake Useful Variables|Useful CMake Variables]]
* [[CMake Useful Variables|Useful CMake Variables]]
* [[CMake FAQ| FAQ (Frequently asked questions)]]
* [[CMake FAQ| FAQ (Frequently asked questions)]]
* [http://www.cmake.org/mailman/listinfo/cmake CMake Mailing List]
* [http://www.cmake.org/mailman/listinfo/cmake CMake Mailing List] (for searchable archives see [[CMake_FAQ#Where_can_I_find_searchable_CMake_Mailing_Archives | CMake FAQ ]])
* [[CMake_2.6_Notes|CMake 2.6 Notes]]
* [[CMake_2.6_Notes|CMake 2.6 Notes]]

Revision as of 06:42, 21 February 2009


Welcome to CMake, the cross-platform, open-source make system. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation.

You will find here not only documentation for CMake, but also for CPack and CTest.


Primary Resources - Look here first!

Development Topics


Basic Introductions

Specific Topics

  • How to find libraries
    Describes how to use external libraries in a CMake project and how to write your own find modules for libraries that don't already have one.
  • Qt with CMake
    Explains how to use CMake to build software with Qt4, Qt3 and KDE3.

Converters from other buildsystems to CMake

All converters listed here are not "complete", i.e. the generated CMake files are not 100% finished, in all cases some work is left for the developer.


  • am2cmake (requires Ruby) Converts automake/autotools/libtool based projects to CMake, specialized in converting from KDE 3 to KDE 4, should also work for others. This one has been used for converting the KDE buildsystem to CMake.


Visual Studio

Basic CMakeLists.txt from-scratch-generator

Success Stories

More Topics



  • Testing With CTest
    Introduces to testing with CTest, submitting dashboards, and using CMake to add tests to the test system.
  • CTest Scripting
    Describes the scripting with CTest which can significantly simplify and automate testing and submitting dashboards.

More Information

More Topics



More Information


CMake: [Welcome | Site Map]