CMake: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 40: Line 40:
* [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 ]


* [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://www.call-with-current-continuation.org Chicken Scheme] -  is a Scheme-to-C compiler which supports all major C compilers and OSs. Chicken is a non-trivial, modestly sized project, about 75,000 lines of code. As such, its extensively commented 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.
* [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.

Revision as of 21:53, 27 February 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.

Development Topics

CMake

CTest

CPack

Tutorials

CMake

  • 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. Chicken is a non-trivial, modestly sized project, about 75,000 lines of code. As such, its extensively commented 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++.

CTest

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

CPack

Administrative topics



CMake: [Welcome | Site Map]