Changes between Version 2 and Version 3 of BuildingUsingGenericBuildsystem


Ignore:
Timestamp:
02/24/12 10:50:16 (12 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingUsingGenericBuildsystem

    v2 v3  
    6161== Visual Studio IDE ==
    6262
    63 After you have the dependencies of Complete Batch or your own. Create msvc-env-local.bat with OPENVPN_DEPROOT pointing to the
    64 location of the dependencies.
     63'''NOTE:''' These instructions are still incomplete.
     64
     65After you have the dependencies of Complete Batch or your own. Create msvc-env-local.bat with OPENVPN_DEPROOT pointing to the location of the dependencies.
    6566
    6667{{{
     
    7071== MSBuild ==
    7172
    72 After you have the dependencies of Complete Batch or your own. Create msvc-env-local.bat with OPENVPN_DEPROOT pointing to the location of the dependencies.
     73'''NOTE:''' These instructions are still incomplete.
     74
     75[http://en.wikipedia.org/wiki/MSBuild MSBuild] is a Windows command-line tool that allows building Visual Studio projects from the command-line. For a description of the various files it uses look [http://msdn.microsoft.com/en-us/library/hx0cxhaw%28v=vs.80%29.aspx here].
     76
     77To build using MSBuild first fetch and unpack a version of OpenVPN sources that has the MSBuild environment included. You can use [https://github.com/downloads/alonbl/openvpn/openvpn-2.3-alpha1.tar.gz this tarball] for now.
     78
     79Next create a ''msvc-env-local.bat'' file with content similar to this:
     80
     81{{{
     82set OPENVPN_DEPROOT=C:\Users\JohnDoe\openvpn-build
     83set OPENSSL_HOME=%OPENVPN_DEPROOT%\openssl
     84set LZO_HOME=%OPENVPN_DEPROOT%\lzo
     85set PKCS11H_HOME=%OPENVPN_DEPROOT%\pkcs11-helper
     86}}}
     87
     88This file is loaded by ''msvc-env.bat''. The above layout assumes your dependencies are set up  [wiki:BuildingOnWindows#Settingupdependencies as described here] - follow the Python-based buildsystem instructions.
     89
     90Next, launch a Visual Studio command prompt and go to the OpenVPN source directory. Then you can initiate the build:
    7391
    7492{{{
     
    100118'''Installers and files'''
    101119
    102  * https://github.com/downloads/alonbl/openvpn/openvpn-install-2.3-alpha1-I000.exe
     120 * [https://github.com/downloads/alonbl/openvpn/openvpn-install-2.3-alpha1-I000.exe OpenVPN 2.3-alpha1 Windows installer build using this new buildsyste]
     121 * [https://github.com/downloads/alonbl/openvpn/openvpn-2.3-alpha1.tar.gz OpenVPN 2.3-alpha1 source directory with integrated buildsystem]