Difference between revisions of "CMake"

From KitwarePublic
Jump to navigationJump to search
m (moved cross-compiling to development topics)
Line 22: Line 22:


* [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 ]
* [[CMake Cross Compiling| Cross compiling with CMake]]


* [http://www.call-with-current-continuation.org Chicken Scheme] -  is a Scheme-to-C compiler which supports all major C compilers and OSs. Its extensively commented build system is easy to understand and demonstrates many non-trivial CMake features, e.g. how to generate source files and executables that are needed by the build itself,  how to use ADD_CUSTOM_COMMAND to drive languages other than C/C++ and more.
* [http://www.call-with-current-continuation.org Chicken Scheme] -  is a Scheme-to-C compiler which supports all major C compilers and OSs. Its extensively commented build system is easy to understand and demonstrates many non-trivial CMake features, e.g. how to generate source files and executables that are needed by the build itself,  how to use ADD_CUSTOM_COMMAND to drive languages other than C/C++ and more.
Line 32: Line 30:
* [[CMake Useful Variables|Useful CMake Variables]]
* [[CMake Useful Variables|Useful CMake Variables]]
* [[CMake Platform Dependent Issues|Platform Dependent Issues]]
* [[CMake Platform Dependent Issues|Platform Dependent Issues]]
* [[CMake Cross Compiling| Cross compiling with CMake]]
* [[CMake Performance Tips|Performance Tips]]
* [[CMake Performance Tips|Performance Tips]]
* [[CMake Editors Support|Various Editors / IDEs support]]
* [[CMake Editors Support|Various Editors / IDEs support]]

Revision as of 16:31, 23 July 2007

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.


CMake

Tutorials

  • Qt with CMake Explains how to use CMake to build software with Qt4 and how to use it for Qt3 and KDE3 applications
  • Chicken Scheme - is a Scheme-to-C compiler which supports all major C compilers and OSs. Its extensively commented build system is easy to understand and demonstrates many non-trivial CMake features, e.g. how to generate source files and executables that are needed by the build itself, how to use ADD_CUSTOM_COMMAND to drive languages other than C/C++ and more.
  • How to use CMake with Eclipse - Short Tutorial that describes one way of setting up your project to work with Eclipse 3.3 and CDT 4.0, Better know as Eclipse Europa. These instructions are written with OS X /Linux in mind but should be applicable to Windows Operating Systems

Development Topics

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. This one has been used for converting the KDE buildsystem to CMake. It's specialized in converting KDE 4 and KDE 3, but works also for other projects.

More Information


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]