CMake: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 6: Line 6:
You will find here not only documentation for CMake, but also for CPack and CTest.
You will find here not only documentation for CMake, but also for CPack and CTest.


==CMake ==
=CMake=


=== Primary Resources - Look here first! ===
==Primary Resources - Look here first! ==
* Where can I [http://www.cmake.org/HTML/Download.html download CMake]?
* Where can I [http://www.cmake.org/HTML/Download.html download CMake]?
* [http://www.cmake.org/HTML/Documentation.html CMake Documentation]
* [http://www.cmake.org/HTML/Documentation.html CMake Documentation]
Line 16: Line 16:
* [[CMake_2.6_Notes|CMake 2.6 Notes]]
* [[CMake_2.6_Notes|CMake 2.6 Notes]]


=== Development Topics===
==Development Topics==
* [[CMake Cross Compiling| Cross compiling]]
* [[CMake Cross Compiling| Cross compiling]]
* [[CMake RPATH handling|RPATH handling]]
* [[CMake RPATH handling|RPATH handling]]
Line 26: Line 26:
* [[CMake Released Versions|Documentation for previous releases]]
* [[CMake Released Versions|Documentation for previous releases]]


===Tutorials===
==Tutorials==


====Basic Introductions====
===Basic 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]
* [http://www.linuxjournal.com/article/6700 Cross-Platform Software Development Using CMake]
Line 38: Line 38:
** [[CMake:VariablesListsStrings| On variables, lists, strings, maps, regexps, etc.]]
** [[CMake:VariablesListsStrings| On variables, lists, strings, maps, regexps, etc.]]


====Specific Topics====
===Specific Topics===
* [[CMake:How_To_Find_Libraries | How to find libraries]] <br>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.
* [[CMake:How_To_Find_Libraries | How to find libraries]] <br>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.
* [[CMake:Eclipse_UNIX_Tutorial | How to use CMake with Eclipse CDT]] <br> Describes how to use CMake with Eclipse CDT.
* [[CMake:Eclipse_UNIX_Tutorial | How to use CMake with Eclipse CDT]] <br> Describes how to use CMake with Eclipse CDT.
Line 70: Line 70:




===Converters from other buildsystems to CMake===
==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.
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.
Line 91: Line 91:




===Success Stories===
==Success Stories==


* What are some [[CMake Projects|projects using CMake]]?
* What are some [[CMake Projects|projects using CMake]]?
Line 98: Line 98:




===More Topics===
==More Topics==


* [[CMake Fortran Issues|Fortran Issues]]
* [[CMake Fortran Issues|Fortran Issues]]

Revision as of 12:57, 11 January 2009

CMake-logo-download.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

Basic Introductions

Specific Topics

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

automake/autotools/autoconf

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

qmake

Visual Studio

Basic CMakeLists.txt from-scratch-generator


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

More Topics

CPack

Tutorials

More Information

CDash



CMake: [Welcome | Site Map]