diff INSTALL @ 7:8a7db884ae83

doc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 20 Jul 2012 11:01:58 +0200
parents 67a6978503b7
children 7908a4c25a18
line wrap: on
line diff
--- a/INSTALL	Thu Jul 19 22:39:52 2012 +0200
+++ b/INSTALL	Fri Jul 20 11:01:58 2012 +0200
@@ -5,11 +5,21 @@
 Dependencies
 ------------
 
-Palantir uses CMake (http://www.cmake.org/) to automate its building
-process. You thus have to download and install CMake first.
+1) CMake: Palantir uses CMake (http://www.cmake.org/) to automate its
+   building process. 
+
+2) Python: Some code is autogenerated through Python
+   (http://www.python.org/).
 
-For the native build under Windows, you will also need to download and
-install 7-Zip (http://www.7-zip.org/).
+3) Mercurial: To use the cutting edge code, a Mercurial client must be
+   installed (http://mercurial.selenic.com/). We recommand TortoiseHg.
+
+W) 7-Zip: For the native build under Windows, the 7-Zip tool is used
+   to uncompress the third-party packages (http://www.7-zip.org/).
+
+You thus have to download and install CMake, Python, Mercurial and
+possibly 7-Zip first. The path to their executable must be in the
+"PATH" environment variable.
 
 The other third party dependencies are automatically downloaded by the
 CMake scripts. The downloaded packages are stored in the
@@ -71,9 +81,25 @@
 
 
 
-Native Windows build with MinGW
+Native Windows build with MinGW (VERY SLOW)
 -------------------------------
 
-# cd [...]/PalantirBuild
-# cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=DEBUG [...]/Palantir
+# cd [...]\PalantirBuild
+# cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=DEBUG [...]\Palantir
 # mingw32-make
+
+
+
+Native Windows build with Microsoft Visual Studio 2005
+------------------------------------------------------
+
+# cd [...]\PalantirBuild
+# cmake -G "Visual Studio 8 2005" [...]\Palantir
+
+Then open the "[...]/PalantirBuild/Palantir.sln" with Visual Studio.
+
+NOTES:
+* More recent versions of Visual Studio should also work.
+* You will have to install the Platform SDK (version 6 or above):
+  http://en.wikipedia.org/wiki/Microsoft_Windows_SDK.
+  Read the CMake FAQ about MSVC 2005: http://goo.gl/By90B