2007-07-12 14:38:59 +00:00
|
|
|
This is CMake, the cross-platform, open-source make system.
|
2009-09-28 15:43:28 +00:00
|
|
|
CMake is distributed under the BSD License, see Copyright.txt.
|
2009-05-12 19:06:53 +00:00
|
|
|
For documentation see the Docs/ directory once you have built CMake
|
2007-07-12 14:38:59 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2007-07-16 14:53:00 +00:00
|
|
|
If you don't have any previous version of CMake already installed
|
2007-07-12 14:38:59 +00:00
|
|
|
--------------------------------------------------------------
|
|
|
|
|
|
|
|
* UNIX/Mac OSX/MinGW/MSYS/Cygwin:
|
|
|
|
|
|
|
|
You need to have a compiler and a make installed.
|
2007-07-16 14:53:00 +00:00
|
|
|
Run the bootstrap script you find the in the source directory of CMake.
|
2007-07-12 14:38:59 +00:00
|
|
|
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
|
2007-07-16 14:53:00 +00:00
|
|
|
installation directory for CMake. You can run the bootstrap script from
|
2007-07-12 14:38:59 +00:00
|
|
|
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:
|
|
|
|
|
2007-07-16 14:53:00 +00:00
|
|
|
$ ./bootstrap; make; make install
|
2007-07-12 14:38:59 +00:00
|
|
|
|
2007-07-16 14:53:00 +00:00
|
|
|
|
2009-05-12 19:06:53 +00:00
|
|
|
* Other Windows:
|
2007-07-16 14:53:00 +00:00
|
|
|
|
|
|
|
You need to download and install a binary release of CMake in order to build
|
2009-05-12 19:06:53 +00:00
|
|
|
CMake. You can get these releases from
|
2007-07-16 14:53:00 +00:00
|
|
|
http://www.cmake.org/HTML/Download.html . Then proceed with the instructions
|
|
|
|
below.
|
2007-07-12 14:38:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
You already have a version of CMake installed
|
|
|
|
---------------------------------------------
|
|
|
|
|
2007-07-16 14:54:29 +00:00
|
|
|
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
|
2007-07-12 14:38:59 +00:00
|
|
|
options and generators. Then build it and install it.
|
2009-05-12 19:06:53 +00:00
|
|
|
For instructions how to do this, see http://www.cmake.org/HTML/RunningCMake.html
|