CMake: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Replace content with link to new CMake community wiki)
 
(276 intermediate revisions by 99 users not shown)
Line 1: Line 1:
http://www.cmake.org/Art/CMakeBanner.jpg
{{CMake/Template/Moved}}


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.
This page has moved [https://gitlab.kitware.com/cmake/community/wikis/Home here].
 
==Development Topics==
 
===CMake===
* [[CMake:Articles|Articles about CMake]]
* [[CMake Platform Dependent Issues|Platform Dependent Issues]]
* [[CMake Editors Support|Various Editors / IDEs support]]
* [[CMake Generator Specific Information|Generator Specific Information]]
* [[CMake Useful Variables|Useful CMake Variables]]
* [[CMake User Contributed Macros| Macros contributed by Users]]
* [[CMake FAQ]]
* [[CMake:For CMake Hackers|For CMake Hackers]]
 
===CTest===
* [[CTest:Submission Issues|CTest Submission Issues]]
* [[CTest:Nightly, Experimental, Continuous|CTest Nightly, Experimental, Continuous, ...]]
* [[CTest:FAQ]]
 
===CPack===
* [[CPack:Generator Information|CPack Generator Information]]
 
==Tutorials==
 
===CMake===
* [http://www.linuxjournal.com/article/6700 Cross-Platform Software Development Using CMake]<br>Tutorial that should get anybody up to speed with CMake
 
* [[CMake:Install Commands| How to write platform independent installation instructons]]
 
* [[CMake HowToDoPlatformChecks| How to write platform checks with CMake]]<br>Describes how to implement platform or configure checks with CMake.
 
* [[CMake HowToFindInstalledSoftware| How to find installed software with CMake]]<br>Describes how to search for and then use software packages  with CMake.
 
* [[CMake:How To Build KDE4 Software | How to build KDE4 software with cmake]]
 
* [http://qtnode.net/wiki/Qt_with_cmake Qt with CMake] Explains how to use CMake to build software with Qt4 and how to use it for Qt3 and KDE3 applications
 
* [http://www.wxwidgets.org/wiki/index.php/CMake How to use CMake for building software with wxWidgets ]
 
* [http://www.call-with-current-continuation.org Chicken Scheme] -  is a performance oriented Scheme-to-C compiler. It supports all major C compilers and OSs and its extensively commented CMake build system can serve as a tutorial for new CMake users. Chicken is a non-trivial, modestly sized project, about 75,000 lines of code and.  As such, the build system is easier to understand than larger projects and it demonstrates many non-trivial CMake features, e.g. how to generate source files and executables that are needed by the build itself, how to reuse the same build rules in multiple directories and how to use ADD_CUSTOM_COMMAND to drive languages other than C/C++.
 
* [http://emanuelgreisen.dk/stuff/kdevelop_am2cmake.php.tgz Alternative Automake2CMake converter written in PHP] Converts Kdeveloper-projects that use Automake. This script can do approx. 87% of the converting :), but that is a start.
 
===CTest===
* [[CMake Testing With CTest|Testing With CTest]]<br>Introduces to testing with CTest, submitting dashboards, and using CMake to add tests to the test system.
 
* [[CMake Scripting Of CTest|CTest Scripting]]<br>Describes the scripting with CTest which can significantly simplify and automate testing and submitting dashboards.
 
* [[CMake Generating Testing Files|Generating Input Files For CTest]]<br>Describe more in details the concepts behind testing with CTest and also explans how to use CTest without using CMake.
 
===CPack===
* [[CMake:Packaging With CPack|Packaging with CPack]]<br>Introduction to CPack, installing and packaging of software.
 
==Administrative topics==
 
* Where can I find more [[CMake Additional Information|information about CMake]]?
 
* Where can I [http://www.cmake.org/HTML/Download.html download CMake]?
 
* What are some [[CMake Projects|projects using CMake]]?
 
* [[CMake FAQ|CMake Frequently asked questions]]
* [[CTest:FAQ|CTest Frequently asked questions]]
 
{{CMake/Template/Footer}}

Latest revision as of 15:40, 30 April 2018


The CMake community Wiki has moved to the Kitware GitLab Instance.

This page has moved here.