CMake: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 35: Line 35:


* [[CMake HowToFindInstalledSoftware| How to find installed software with CMake]]<br>Describes how to search for and then use software packages  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:HowToUseExistingOSXFrameworks | How to find and use existing frameworks on OS X]] A quick example to help OS X users find frameworks automatically.


* [[CMake:How To Build KDE4 Software | How to build KDE4 software with cmake]]
* [[CMake:How To Build KDE4 Software | How to build KDE4 software with cmake]]
Line 42: Line 44:
* [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 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 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. 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://emanuelgreisen.dk/stuff/kdevelop_am2cmake.php.tgz Alternative Automake2CMake converter written in PHP] Converts KDevelop projects that use automake to CMake, can do approx. 87% of the converting ;-).


* [[CMake:ConvertFromQmake | qmake converter written in Ruby]] Converts projects that use Qt's qmake, does only a partial conversion but is quicker than nothing.
* [[CMake:HowToUseExistingOSXFrameworks | How to find and use existing frameworks on OS X]] A quick example to help OS X users find frameworks automatically.


===CTest===
===CTest===
Line 59: Line 56:
===CPack===
===CPack===
* [[CMake:Packaging With CPack|Packaging with CPack]]<br>Introduction to CPack, installing and packaging of software.
* [[CMake:Packaging With CPack|Packaging with CPack]]<br>Introduction to CPack, installing and packaging of software.
==Converters from other buildsystems to CMake==
* [http://emanuelgreisen.dk/stuff/kdevelop_am2cmake.php.tgz Alternative Automake2CMake converter written in PHP] Converts KDevelop projects that use automake to CMake, can do approx. 87% of the converting ;-).
* [[CMake:ConvertFromQmake | qmake converter written in Ruby]] Converts projects that use Qt's qmake, does only a partial conversion but is quicker than nothing.


==Administrative topics==
==Administrative topics==

Revision as of 13:18, 12 June 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. 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.


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


Converters from other buildsystems to CMake


Administrative topics



CMake: [Welcome | Site Map]