My patches to CMake
Go to file
Peter Collingbourne 5d19e8aa6a Ninja: Appease various compilers 2012-02-05 01:48:08 +00:00
Docs cmake-mode.el: Indent after multiline argument (#12908) 2012-01-23 13:59:27 -05:00
Example
Modules Ninja: Add the Ninja generator 2012-02-02 23:40:21 +00:00
Source Ninja: Appease various compilers 2012-02-05 01:48:08 +00:00
Templates
Tests Ninja: Add the Ninja generator 2012-02-02 23:40:21 +00:00
Utilities Update dashmacmini2 release script to use Qt 4.8.0 2012-01-30 20:40:42 -05:00
.gitattributes Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib 2011-12-05 18:13:49 -05:00
.hooks-config.bash Add pre-commit|commit-msg|prepare-commit-msg hook placeholders 2011-10-24 10:18:36 -04:00
CMakeCPack.cmake
CMakeCPackOptions.cmake.in
CMakeGraphVizOptions.cmake
CMakeLists.txt Merge topic 'update-libarchive' 2012-01-09 14:10:01 -05:00
CMakeLogo.gif
CTestConfig.cmake libarchive 3.0.1-r3950 (reduced) 2011-12-20 11:52:11 -05:00
CTestCustom.cmake.in CTestCustom.cmake: Ignore clang's summary warning 2011-09-29 15:44:03 -04:00
CTestCustom.ctest.in
ChangeLog.manual CMake 2.8.7 2011-12-30 11:05:59 -05:00
ChangeLog.txt
CompileFlags.cmake
Copyright.txt Update main Copyright.txt year range for 2011 2011-11-10 07:56:31 -05:00
DartConfig.cmake
DartLocal.conf.in
Readme.txt
bootstrap bootstrap: Forward options after '--' to cmake 2011-12-16 11:33:24 -05:00
cmake.1
cmake_uninstall.cmake.in
configure
doxygen.config

Readme.txt

This is CMake, the cross-platform, open-source make system.
CMake is distributed under the BSD License, see Copyright.txt.
For documentation see the Docs/ directory once you have built CMake
or visit http://www.cmake.org.


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 shouldn't be a major problem to port CMake to this platform. Contact the
CMake mailing list in this case: http://www.cmake.org/mailman/listinfo/cmake


If you don't have any previous version of CMake already installed
--------------------------------------------------------------

* 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 want to use the --prefix=<install_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.
So basically it's the same as you may be used to from autotools-based
projects:

$ ./bootstrap; make; make install


* Other Windows:

You need to download and install a binary release of CMake in order to build
CMake.  You can get these releases from
http://www.cmake.org/HTML/Download.html .  Then proceed with the instructions
below.


You already have a version of CMake installed
---------------------------------------------

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 http://www.cmake.org/HTML/RunningCMake.html