CMake: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 27: Line 27:


===Tutorials===
===Tutorials===
====General introductions====
* [http://www.cmake.org/HTML/Examples.html A Simple CMake Example]
* [http://www.cmake.org/HTML/Examples.html A Simple CMake Example]


* [http://www.linuxjournal.com/article/6700 Cross-Platform Software Development Using CMake]<br>Tutorial that should get anybody up to speed with CMake
* [http://www.linuxjournal.com/article/6700 Cross-Platform Software Development Using CMake]<br>Tutorial that should get anybody up to speed with CMake


* [http://clubjuggler.livejournal.com/138364.html CMake: The Cross Platform Build System], Tanner Lovelace, Linux Magazine, July 2006
====Specific Topics====
* [[CMake HowToDoPlatformChecks| How to write platform checks with CMake]]<br>Describes how to implement platform or configure checks with CMake.
* [[CMake HowToDoPlatformChecks| How to write platform checks with CMake]]<br>Describes how to implement platform or configure checks with CMake.


Line 37: Line 42:
* [[CMake:HowToUseExistingOSXFrameworks | How to find and use existing frameworks on OS X]]<br> A quick example to help OS X users find frameworks automatically.
* [[CMake:HowToUseExistingOSXFrameworks | How to find and use existing frameworks on OS X]]<br> A quick example to help OS X users find frameworks automatically.


* [[CMake:How To Build KDE4 Software | How to build KDE4 software with cmake]]
====How to use CMake for specific packages====
* [[CMake:How To Build KDE4 Software | How to build KDE4 software with CMake]]


* [http://qtnode.net/wiki?title=Qt_with_cmake Qt with CMake] <br>Explains how to use CMake to build software with Qt4 and how to use it for Qt3 and KDE3 applications
* [http://qtnode.net/wiki?title=Qt_with_cmake Qt with CMake] <br>Explains how to use CMake to build software with Qt4, Qt3 and KDE3.


* [http://www.wxwidgets.org/wiki/index.php/CMake How to use CMake for building software with wxWidgets ]
* [http://www.wxwidgets.org/wiki/index.php/CMake How to use CMake for building software with wxWidgets ]
* [http://www.linuxdevices.com/articles/AT6762290643.html Building eCos applications with CMake]


===Converters from other buildsystems to CMake===
===Converters from other buildsystems to CMake===

Revision as of 00:40, 11 January 2008

CMakeBanner.jpg

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.

CMake

Primary Resources - Look here first!

Development Topics

Tutorials

General introductions

Specific Topics

How to use CMake for specific packages

  • 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, spezialiced 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.

Success Stories

More Topics

CTest

Tutorials

  • 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


CPack

Tutorials

More Information




CMake: [Welcome | Site Map]