Imported Upstream version 0.48
[platform/upstream/libical.git] / README.cmake
1 libical supports the CMake buildsystem.
2 You must have CMake version 2.4 or higher.
3
4 Please see the comments at the top of CMakeLists.txt for
5 the available configuration options you can pass to cmake.
6
7 The installation directory defaults to /usr/local on UNIX
8 and c:/Program Files on Windows. You can change this by
9 passing -DCMAKE_INSTALL_PREFIX=/install/path to cmake.
10
11 To build a debug version pass -DCMAKE_BUILD_TYPE=Debug to cmake.
12
13 Building on Linux/Unix with a native compiler:
14 % mkdir build
15 % cd build
16 % cmake ..
17 % make
18 % make install
19
20 Building on Windows with MicroSoft Visual Studio:
21 % mkdir build
22 % cd build
23 % cmake -G "NMake Makefiles" ..
24 % nmake
25 % nmake install
26
27
28 Building on Windows with mingw:
29 % mkdir build
30 % cd build
31 % cmake -G "MinGW Makefiles" ..
32 % mingw32-make
33 % mingw32-make install
34
35
36 Building on Windows under Cygwin:
37 % mkdir build
38 % cd build
39 % cmake ..
40 % make
41 % make install
42
43 To run the test suite, run 'make test'.
44 To run the test suite in verbose mode, run 'make test ARGS="-V"'.