Changeset - b4b9420d6ad1
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-09-01 07:51:05
hanzz.k@gmail.com
Update README.win32

update
1 file changed with 9 insertions and 5 deletions:
0 comments (0 inline, 0 general)
README.win32
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)