CMake
1
CMake
http:/ / www. cmake. org/ cmake/ img/ 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!
• Where can I download CMake
[1]
?
• CMake Documentation
[2]
• Useful CMake Variables
• FAQ (Frequently asked questions)
• CMake Mailing List
[3]
(for searchable archives see CMake FAQ)
• CMake 2.6 Notes
• Getting Started With CMake Screencasts @PlayControl.net
[4]
Development Topics
• Cross compiling
• RPATH handling
• Assembler Support
• Editors/IDEs with CMake syntax support
• Docs for Specific Project Generators (Eclipse, KDevelop3, CodeBlocks, Makefile)
• Contributed macros
• Module Maintainers
• Platform Dependent Information
• Documentation for previous releases
• Matrix for checking backwards-compatibility of current features
Tutorials
Basic Introductions
• A Simple CMake Example
[5]
• Cross-Platform Software Development Using CMake
[6]
• CMake: The Cross Platform Build System
[7]
• "Learning CMake"
[8]
- Slides of a CMake workshop, including CPack, CTest and CDash
• "CMake: Behind the Scenes of Code Development"
[9]
- Slides of an introductory talk/tutorial about CMake and
its benefits
• Howto use cmake with C/C++ projects
[10]
A simple walk-through about creating a cmake C project including
integration of subversion, doxygen and how-to add optional project parts as configurables