CMake: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(→CMake) |
(→CMake) |
||
Line 12: | Line 12: | ||
* [http://www.cmake.org/HTML/Documentation.html CMake Documentation] | * [http://www.cmake.org/HTML/Documentation.html CMake Documentation] | ||
* [[CMake Useful Variables|Useful CMake Variables]] | * [[CMake Useful Variables|Useful CMake Variables]] | ||
* [[CMake FAQ| | * [[CMake FAQ|Frequently asked questions]] | ||
* [http://www.cmake.org/mailman/listinfo/cmake CMake Mailing List] | * [http://www.cmake.org/mailman/listinfo/cmake CMake Mailing List] | ||
=== Development Topics=== | === Development Topics=== | ||
* [[CMake Cross Compiling| Cross compiling with CMake]] | * [[CMake Cross Compiling| Cross compiling with CMake]] | ||
* [[CMake RPATH handling|RPATH handling with CMake]] | * [[CMake RPATH handling|RPATH handling with CMake]] | ||
Line 66: | Line 65: | ||
* [[CMake:Articles|Articles about CMake]] | * [[CMake:Articles|Articles about CMake]] | ||
* What are some [[CMake Projects|projects using CMake]]? | * What are some [[CMake Projects|projects using CMake]]? | ||
===More | ===More Topics=== | ||
* [[CMake Platform Dependent Issues|Platform Dependent Issues]] | |||
* [[CMake Fortran Issues|Fortran Issues]] | * [[CMake Fortran Issues|Fortran Issues]] | ||
* [[CMake:For CMake Hackers|For CMake Hackers]] | * [[CMake:For CMake Hackers|For CMake Hackers]] |
Revision as of 16:37, 30 December 2007
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!
- Where can I download CMake?
- CMake Documentation
- Useful CMake Variables
- Frequently asked questions
- CMake Mailing List
Development Topics
- Cross compiling with CMake
- RPATH handling with CMake
- Editors/IDEs with CMake support
- Generator Specific Information
- Module Maintainers
- On variables, lists, strings, maps, regexps, etc.
- CMake TODO
- Documentation for previous CMake releases
Tutorials
- Cross-Platform Software Development Using CMake
Tutorial that should get anybody up to speed with CMake
- How to write platform checks with CMake
Describes how to implement platform or configure checks with CMake.
- How to find installed software with CMake
Describes how to search for and then use software packages with CMake.
- How to find and use existing frameworks on OS X
A quick example to help OS X users find frameworks automatically.
- Qt with CMake
Explains how to use CMake to build software with Qt4 and how to use it for Qt3 and KDE3 applications
- CMake with Eclipse
Describes one way of setting up your project to work with Eclipse 3.3 and CDT 4.0, better know as Eclipse Europa.
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.
- Alternative Automake2CMake (requires PHP) Converts KDevelop projects that use automake to CMake.
- qmake converter (requires Ruby) Converts projects that use Qt's qmake.
- gencmake (requires Ruby) Creates basic CMakeLists.txt files from looking at the existing files.
- vcproj2cmake.rb (requires Ruby) Creates CMakeLists.txt files by extracting info from Visual Studio project files.
Success Stories
- Articles about CMake
- What are some projects using CMake?
More Topics
- Platform Dependent Issues
- Fortran Issues
- For CMake Hackers
- Experiments With Lua
- Performance Tips
- Macros contributed by Users
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.
- Generating Input Files For CTest
Describe more in details the concepts behind testing with CTest and also explans how to use CTest without using CMake.
More Information
- Configuring CTest Submission Methods
- CTest Nightly, Experimental, Continuous, ...
- CTest:Coverage
- Media:CTest Running Modes.pdf
- CTest Frequently asked questions
CPack
Tutorials
- Packaging with CPack
Introduction to CPack, installing and packaging of software. - CPack Variables
- Supported package formats
More Information