Changes between Version 76 and Version 77 of BuildingUsingGenericBuildsystem


Ignore:
Timestamp:
02/28/13 09:52:59 (11 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingUsingGenericBuildsystem

    v76 v77  
    195195
    196196Make sure the variables match your latest complete build.
     197
    197198= Building natively on Windows using the MSVC toolchain ("msvc" subdir) =
    198199
    199 == Installing prequisites ==
    200 
    201 MSVC build was written with least dependencies in mind. You'll need only [http://www.activestate.com/activeperl Perl] and Visual Studio 2010 (Express).
    202 
    203 == Checking out openvpn-build repository ==
    204 
    205 Launch a Git Bash and follow [wiki:BuildingUsingGenericBuildsystem#Checkingoutopenvpn-buildrepository these] instructions. Next go to the ''msvc'' directory and build:
    206 
    207 {{{
    208 > cd openvpn-build/msvc
    209 > build
    210 }}}
    211 
    212 
    213 This fetches all the dependencies, builds them and builds OpenVPN.
    214 
    215 == Building dependencies only ==
    216 
    217 To build only dependencies (helpful for developers):
    218 
    219 {{{
    220 > set DO_ONLY_DEPS=true
    221 > set TARGET=c:\Temp\build-deps
    222 > build
    223 }}}
    224 
    225 == Customizing the build ==
    226 
    227 To customize the build options, refer to ''build-env.bat'', it contains the defaults for building, most settings can be customized by setting environment variable before executing the build script.
    228 
    229 You can also configure the build to use a Git repository or tarball of your liking, for example:
    230 
    231 {{{
    232 set OPENVPN_GIT=git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git
    233 set OPENVPN_SOURCE=git
    234 set OPENVPN_BRANCH=master
    235 }}}
    236 
    237 == Build OpenVPN manually ==
    238 
    239 Provided you built the dependencies you can use the MSVC build system within OpenVPN tree, edit ''build-env-local.bat'' which is loaded by ''build.bat''. The variables defined in ''build-env-local.bat'' override the defaults given in ''build-env.bat''. For example, you can manually define the location of dependencies:
    240 
    241 {{{
    242 set OPENVPN_DEPROOT=c:\Temp\build-deps
    243 }}}
    244 
    245 Then open IDE using:
    246 
    247 {{{
    248 > msvc-dev
    249 }}}
    250 
    251 Or build using:
    252 
    253 {{{
    254 > msvc-build
    255 }}}
     200Content moved [wiki:BuildingUsingMsvcBuildsystem here].
    256201
    257202= Building TAP-Windows =