Skip to content

Commit

Permalink
Adds vcpkg integration and some minor text formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Sep 3, 2018
1 parent 1bc068c commit dc50021
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,36 @@ package manager. Then in an elevated cmd.exe:
To install vcpkg and FreeLAN dependencies, run the following:

> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg
> .\bootstrap-vcpkg.bat
> xcopy /I ..\freelan\third-party\vcpkg\ports\miniupnpc .\ports\miniupnpc
> vcpkg install boost miniupnpc libiconv openssl curl --triplet x64-windows-static
> vcpkg install boost miniupnpc libiconv openssl curl --triplet x86-windows-static
```
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
vcpkg integrate install
xcopy /I ..\freelan\third-party\vcpkg\ports\miniupnpc .\ports\miniupnpc
vcpkg install boost miniupnpc libiconv openssl curl --triplet x64-windows-static
vcpkg install boost miniupnpc libiconv openssl curl --triplet x86-windows-static
```

### Debian Linux

To install the required dependencies on Debian Linux (Or Ubuntu), type the
following command:

> sudo apt-get install scons python libssl-dev libcurl4-openssl-dev
> libboost-system-dev libboost-thread-dev libboost-program-options-dev
> libboost-filesystem-dev libboost-iostreams-dev libminiupnpc-dev build-essential
```
sudo apt-get install scons python libssl-dev libcurl4-openssl-dev \
libboost-system-dev libboost-thread-dev libboost-program-options-dev \
libboost-filesystem-dev libboost-iostreams-dev libminiupnpc-dev build-essential
```

### Mac OSX

To install the required dependencies on Mac OS, type the following commands:

> /usr/bin/ruby -e "$(curl -fsSL
> https://raw.githubusercontent.com/Homebrew/install/master/install)"
> brew update
> brew install scons boost openssl miniupnpc
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install scons boost openssl miniupnpc
```

You will also need tuntap driver:

Expand Down

0 comments on commit dc50021

Please sign in to comment.