TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Readme.txt
1 This is CMake, the cross-platform, open-source make system.
2 CMake is distributed under the BSD License, see Copyright.txt.
3 For documentation see the Docs/ directory once you have built CMake
4 or visit http://www.cmake.org.
5
6
7 Building CMake
8 ==============
9
10
11 Supported Platforms
12 -------------------
13
14 MS Windows, Mac OS X, Linux, FreeBSD, Solaris, HP-UX, IRIX, BeOS, QNX
15
16 Other UNIX-like operating systems may work too out of the box, if not
17 it shouldn't be a major problem to port CMake to this platform. Contact the
18 CMake mailing list in this case: http://www.cmake.org/mailman/listinfo/cmake
19
20
21 If you don't have any previous version of CMake already installed
22 --------------------------------------------------------------
23
24 * UNIX/Mac OSX/MinGW/MSYS/Cygwin:
25
26 You need to have a compiler and a make installed.
27 Run the bootstrap script you find the in the source directory of CMake.
28 You can use the --help option to see the supported options.
29 You may want to use the --prefix=<install_prefix> option to specify a custom
30 installation directory for CMake. You can run the bootstrap script from
31 within the CMake source directory or any other build directory of your
32 choice. Once this has finished successfully, run make and make install.
33 So basically it's the same as you may be used to from autotools-based
34 projects:
35
36 $ ./bootstrap; make; make install
37
38
39 * Other Windows:
40
41 You need to download and install a binary release of CMake in order to build
42 CMake.  You can get these releases from
43 http://www.cmake.org/HTML/Download.html .  Then proceed with the instructions
44 below.
45
46
47 You already have a version of CMake installed
48 ---------------------------------------------
49
50 You can build CMake as any other project with a CMake-based build system:
51 run the installed CMake on the sources of this CMake with your preferred
52 options and generators. Then build it and install it.
53 For instructions how to do this, see http://www.cmake.org/HTML/RunningCMake.html