Changes between Version 31 and Version 32 of BuildingOnWindows


Ignore:
Timestamp:
11/11/10 13:17:12 (13 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v31 v32  
    9191}}}
    9292
    93 = Preparing the source tree for building =
     93= Building OpenVPN =
    9494
    95 If you want to build the latest development code fetch it using ''Git for Windows'' (Git shell) or ''!GitExtensions'' (GUI). Check [wiki:TesterDocumentation these instructions] to see which Git URI to use. Once you have fetched OpenVPN sources you need to copy ''openssl'' and ''lzo'' these header file directories the root build directory:
    96 
    97  * <lzo-directory>/include/lzo
    98  * <openssl-directory>/include/openssl
    99 
    100 After this the OpenVPN build directory should look like this (files omitted):
     95If you want to build the latest development code fetch it using ''Git for Windows'' (Git shell) or ''!GitExtensions'' (GUI). Check [wiki:TesterDocumentation these instructions] to see which Git URI to use. Once you have fetched OpenVPN sources you need to customize a few variables in the ''win\settings.in'' file. Make sure to use a UNIX linefeed-capable editor such as ''wordpad''.
    10196
    10297{{{
    103 |-- contrib
    104 |-- debug
    105 |-- easy-rsa
    106 |-- images
    107 |-- install-win32
    108 |-- lzo
    109 |-- management
    110 |-- msvc
    111 |-- openssl
    112 |-- plugin
    113 |-- sample-config-files
    114 |-- sample-keys
    115 |-- sample-scripts
    116 |-- service-win32
    117 |-- suse
    118 |-- tap-win32
    119 |-- win
     98# Point this to the openvpn-gui directory
     99!define OPENVPN_GUI_DIR "../openvpn-gui"
     100!define OPENVPN_GUI     "openvpn-gui-1.0.3.exe"
     101
     102# Point these to OpenSSL and LZO install directories with DLLs and headers
     103!define OPENSSL_DIR       "../openssl"
     104!define LZO_DIR           "../lzo"
    120105}}}
    121106
    122 = Building OpenVPN =
    123 
    124 Fire up a console/MS DOS prompt and go to ''<openvpn-root-build-directory>/win''. Then just start the build:
     107Next fire up a console/MS DOS prompt and go to the ''win'' directory and start the build:
    125108
    126109{{{
    127 C:\Python27\python.exe build.py
     110C:\openvpn-testing\win> python build_all.py
    128111}}}
    129112
    130 To clean up before or after the build, issue
     113To clean up before or after thäe build, issue
    131114
    132115{{{
    133 C:\Python27\python.exe build.py clean
     116C:\openvpn-testing\win> python build.py clean
    134117}}}
    135 
    136118
    137119= Integrating Git with Visual Studio (optional) =