comparison INSTALL @ 7:8a7db884ae83

doc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Jul 2012 11:01:58 +0200
parents 67a6978503b7
children 7908a4c25a18
comparison
equal deleted inserted replaced
6:9d483cf71d17 7:8a7db884ae83
3 3
4 4
5 Dependencies 5 Dependencies
6 ------------ 6 ------------
7 7
8 Palantir uses CMake (http://www.cmake.org/) to automate its building 8 1) CMake: Palantir uses CMake (http://www.cmake.org/) to automate its
9 process. You thus have to download and install CMake first. 9 building process.
10 10
11 For the native build under Windows, you will also need to download and 11 2) Python: Some code is autogenerated through Python
12 install 7-Zip (http://www.7-zip.org/). 12 (http://www.python.org/).
13
14 3) Mercurial: To use the cutting edge code, a Mercurial client must be
15 installed (http://mercurial.selenic.com/). We recommand TortoiseHg.
16
17 W) 7-Zip: For the native build under Windows, the 7-Zip tool is used
18 to uncompress the third-party packages (http://www.7-zip.org/).
19
20 You thus have to download and install CMake, Python, Mercurial and
21 possibly 7-Zip first. The path to their executable must be in the
22 "PATH" environment variable.
13 23
14 The other third party dependencies are automatically downloaded by the 24 The other third party dependencies are automatically downloaded by the
15 CMake scripts. The downloaded packages are stored in the 25 CMake scripts. The downloaded packages are stored in the
16 "ThirdPartyDownloads" directory. 26 "ThirdPartyDownloads" directory.
17 27
69 # cmake -DCMAKE_TOOLCHAIN_FILE=~/Palantir/Resources/MinGWToolchain.cmake -DCMAKE_BUILD_TYPE=DEBUG ~/Palantir 79 # cmake -DCMAKE_TOOLCHAIN_FILE=~/Palantir/Resources/MinGWToolchain.cmake -DCMAKE_BUILD_TYPE=DEBUG ~/Palantir
70 # make 80 # make
71 81
72 82
73 83
74 Native Windows build with MinGW 84 Native Windows build with MinGW (VERY SLOW)
75 ------------------------------- 85 -------------------------------
76 86
77 # cd [...]/PalantirBuild 87 # cd [...]\PalantirBuild
78 # cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=DEBUG [...]/Palantir 88 # cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=DEBUG [...]\Palantir
79 # mingw32-make 89 # mingw32-make
90
91
92
93 Native Windows build with Microsoft Visual Studio 2005
94 ------------------------------------------------------
95
96 # cd [...]\PalantirBuild
97 # cmake -G "Visual Studio 8 2005" [...]\Palantir
98
99 Then open the "[...]/PalantirBuild/Palantir.sln" with Visual Studio.
100
101 NOTES:
102 * More recent versions of Visual Studio should also work.
103 * You will have to install the Platform SDK (version 6 or above):
104 http://en.wikipedia.org/wiki/Microsoft_Windows_SDK.
105 Read the CMake FAQ about MSVC 2005: http://goo.gl/By90B