No Description

Brad King c491cb1eb4 Fix some generator crashes on undefined CMAKE_BUILD_TYPE 11 years ago
Auxiliary 9d35f7c49a cmake-mode.el: Add help for variables/properties/complete. Factorize. 11 years ago
Help e2789429aa Merge topic 'features-cleanups' 11 years ago
Licenses 8ad8a9b1a6 cmake-gui: Reference LGPLv2.1 when redistributing Qt 12 years ago
Modules f0a0f3dcb4 WCDH: Fix compiler id test for compatibility macros. 11 years ago
Source c491cb1eb4 Fix some generator crashes on undefined CMAKE_BUILD_TYPE 11 years ago
Templates 15a8af21e8 Add an "installed file" property scope 11 years ago
Tests 3eb50bbe8c Merge topic 'vs-subdir-sln-depends' 11 years ago
Utilities f56e74ef56 Merge topic 'hpux-libarchive-compile' 11 years ago
.gitattributes afb00fef19 Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib 14 years ago
.hooks-config.bash 3d5869ca3c Add pre-commit|commit-msg|prepare-commit-msg hook placeholders 14 years ago
CMakeCPack.cmake 84af42b989 Configure NSIS-packaged CMake version and install destination 12 years ago
CMakeCPackOptions.cmake.in 7cbab17871 Change version scheme to use only two components for feature levels 11 years ago
CMakeGraphVizOptions.cmake 77543bde41 Convert CMake-language commands to lower case 13 years ago
CMakeLists.txt e2b02823e7 Update libarchive configuration within CMake 11 years ago
CMakeLogo.gif bde7f6c023 ENH: fancier logo 18 years ago
CONTRIBUTING.rst 8da0a75ba2 Simplify and clarify credit text and link 11 years ago
CTestConfig.cmake 4b67c4b94c Remove compatibility CTest code. 11 years ago
CTestCustom.cmake.in 18e480a5e9 Merge topic 'openbsd-warnings' 11 years ago
CompileFlags.cmake 18aaed77c0 Merge topic 'matches-cleanup' 11 years ago
Copyright.txt f2ec464fe0 Copyright.txt: Update year range to end in 2014 12 years ago
DartConfig.cmake 96afb12087 Convert CMake to OSI-approved BSD License 16 years ago
DartLocal.conf.in 27344f0ae6 ENH: remove superior dean i, no longer uses borland 18 years ago
README.rst 8da0a75ba2 Simplify and clarify credit text and link 11 years ago
bootstrap 15a8af21e8 Add an "installed file" property scope 11 years ago
cmake_uninstall.cmake.in 5bd48ac534 Replace string(REGEX REPLACE) with string(REPLACE) where possible 11 years ago
configure 28531d1707 Simplify bootstrap script source dir detection 16 years ago
doxygen.config 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code 13 years ago

README.rst

CMake
*****

Introduction
============

CMake is a cross-platform, open-source build system generator.
For full documentation visit the `CMake Home Page`_ and the
`CMake Documentation Page`_.

.. _`CMake Home Page`: http://www.cmake.org
.. _`CMake Documentation Page`: http://www.cmake.org/cmake/help/documentation.html

CMake is maintained and supported by `Kitware`_ and developed in
collaboration with a productive community of contributors.

.. _`Kitware`: http://www.kitware.com/cmake

License
=======

CMake is distributed under the OSI-approved BSD 3-clause License.
See `Copyright.txt`_ for details.

.. _`Copyright.txt`: Copyright.txt

Building CMake
==============

Supported Platforms
-------------------

MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX

Other UNIX-like operating systems may work too out of the box, if not
it should not be a major problem to port CMake to this platform.
Subscribe and post to the `CMake Users List`_ to ask if others have
had experience with the platform.

.. _`CMake Users List`: http://www.cmake.org/mailman/listinfo/cmake

Building CMake from Scratch
---------------------------

UNIX/Mac OSX/MinGW/MSYS/Cygwin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to have a compiler and a make installed.
Run the ``bootstrap`` script you find the in the source directory of CMake.
You can use the ``--help`` option to see the supported options.
You may use the ``--prefix=`` option to specify a custom
installation directory for CMake. You can run the ``bootstrap`` script from
within the CMake source directory or any other build directory of your
choice. Once this has finished successfully, run ``make`` and
``make install``. In summary::

$ ./bootstrap && make && make install

Windows
^^^^^^^

You need to download and install a binary release of CMake in order to build
CMake. You can get these releases from the `CMake Download Page`_ . Then
proceed with the instructions below.

.. _`CMake Download Page`: http://www.cmake.org/cmake/resources/software.html

Building CMake with CMake
-------------------------

You can build CMake as any other project with a CMake-based build system:
run the installed CMake on the sources of this CMake with your preferred
options and generators. Then build it and install it.
For instructions how to do this, see documentation on `Running CMake`_.

.. _`Running CMake`: http://www.cmake.org/cmake/help/runningcmake.html

Contributing
============

See `CONTRIBUTING.rst`_ for instructions to contribute.

.. _`CONTRIBUTING.rst`: CONTRIBUTING.rst