From b4b9420d6ad1a9786871a09166103611540e8ee5 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Sat, 1 Sep 2012 08:51:05 +0300 Subject: [PATCH] Update README.win32 update --- README.win32 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.win32 b/README.win32 index 60bd96cd..d1f40551 100644 --- a/README.win32 +++ b/README.win32 @@ -17,7 +17,8 @@ Environment To create spectrum build environment do: -0. Create directory where we'll install all dependencies, e.g. C:\env-msvc-x64 +0. Create directory where we'll install all dependencies, e.g. C:\env-msvc-x64. +Create C:\env-msvc-x64\bin and add it to %PATH%. Assuming you have git, python and cmake in %PATH%, launch "Visual Studio 2010 command prompt" or "Visual Studio 2010(x64) command prompt", depends on your target (Windows x86 or Windows x86_64). @@ -25,7 +26,7 @@ launch "Visual Studio 2010 command prompt" or bootstrap.bat b2.exe --without-mpi --without-python - b2.exe --without-mpi --without-python install --prefix=C:\env-msvc-x64 --layout=system + b2.exe --without-mpi --without-python install --prefix=C:\env-msvc-x64 release 2. clone swift repository and build it. Don't forget to point it to our env directory: @@ -46,9 +47,12 @@ Run extract_includes.bat in vsprojects/ directory and move resulting google/ dir Move protoc.exe to C:\env-msvc-x64\bin\ and libprotobuf.lib to C:\env-msvc-x64\lib -4. You're ready! :) Clone libtransport and compile it as: +4. You're ready! :) Clone libtransport into C:\env-msvc-x64\libtransport (You *must* clone it into this directory, because libtransport will try to find the dependencies in ../lib and ../include) + +Compile it as: + set CMAKE_INCLUDE_PATH=C:\env-msvc-x64\include - cmake . -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:\env-msvc-x64 -DGIT_EXECUTABLE="c:\Program Files (x86)\git\bin\git.exe" + cmake . -G "NMake Makefiles" -DBOOST_VERSION=1.49.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:\env-msvc-x64 -DGIT_EXECUTABLE="c:\Program Files (x86)\git\bin\git.exe" nmake -TODO: libpurple_backend compilation +TODO: libpurple_backend compilation \ No newline at end of file