| | 224 | |
| | 225 | == Windows, QuteCom 3.0 == |
| | 226 | |
| | 227 | === Dependencies === |
| | 228 | |
| | 229 | You will need VS 2008, Cmake 2.8 , Qt 4.3.7 and Boost Pro 1.41.0 available from http://boostpro.com/download/ |
| | 230 | |
| | 231 | |
| | 232 | === Environment variables === |
| | 233 | |
| | 234 | Environment variables must be set before performing any build. The best way is to create settings.bat file , for example like this: |
| | 235 | |
| | 236 | @SET QTDIR=C:\Qt\4.7.3 [[BR]] |
| | 237 | @SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include [[BR]] |
| | 238 | @SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\atl [[BR]] |
| | 239 | @SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft DirectX SDK (August 2007)\Include [[BR]] |
| | 240 | @SET LIB=%LIB%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib [[BR]] |
| | 241 | @SET PATH=%PATH%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin [[BR]] |
| | 242 | @SET PATH=%PATH%;C:\Qt\4.7.3\bin[[BR]] |
| | 243 | @SET PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\ [[BR]] |
| | 244 | @SET PATH=%PATH%;C:\Program Files\NSIS [[BR]] |
| | 245 | @SET PATH=%PATH%;C:\Program Files\NSIS\bin [[BR]] |
| | 246 | @"C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat" [[BR]] |
| | 247 | |
| | 248 | |
| | 249 | Its not necessary to add boost to environment because cmake will discover it automatically. |
| | 250 | |
| | 251 | === Build based on Makefile === |
| | 252 | |
| | 253 | In order to build successfully it is necessary to use cloned hg repository |
| | 254 | |
| | 255 | ==== Build with Visual C++ ==== |
| | 256 | |
| | 257 | {{{ |
| | 258 | cd qutecom-3.0 |
| | 259 | cd build |
| | 260 | cmake .. -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" |
| | 261 | nmake |
| | 262 | }}} |
| | 263 | |
| | 264 | |
| | 265 | |
| | 266 | {{{ |
| | 267 | |
| | 268 | To build the installer run: |
| | 269 | |
| | 270 | % nmake install |
| | 271 | }}} |
| | 272 | |