-
Notifications
You must be signed in to change notification settings - Fork 31
Home
#Getting Setup
##Install VS 2015 For this project we've been working in VS2015 and haven't tested any other build environments so can't recommend them. There is a free version of Visual Studio, the community edition, available from: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx just download and install it. Make sure you select the Windows 10 SDK in the install options.
Note $ below refers to the root of the project so
##Installing Boost This project makes use of the popular C++ library Boost, which you'll need to download and setup. If you already have boost or want to install it to a different location follow the steps in using other directories.
- Download boost from http://www.boost.org/users/download/#live
- Unzip to
$\External so now you have $ \External\boost_1_60_0 - From a command prompt run
bootstrap.bat
- Open a Visual Studio cmd prompt ("Developer Command Prompt for VS2013") run in the directory above
- for 32 bit:
- Run
b2 link=static threading=multi runtime-link=static toolset=msvc-12.0 -j %number_of_processors%
- Place the stage\lib folder in external\boost_1_60_0\x86\
- Run
- for 64 bit:
- Run
b2 link=static threading=multi runtime-link=static toolset=msvc-12.0 address-model=64 -j %number_of_processors%
- Place the stage\lib folder in external\boost_1_60_0\x64\
- Run
##Install WebSockets++ This projects makes use of the awesome websocket library WebSocket++. If you already have WebSockets++ or want to install it to a different location follow the steps in using other directories.
- Download the source code zip for the 0.5.0 release from github https://github.com/zaphoyd/websocketpp/releases/tag/0.5.0
- Unpack the zip into
$\external so now you have $ \external\websocketpp-0.5.0
##Using other directories If you have any of the external dependencies already on your box you can use them by including their directories by:
- Open Visual Studio and the project
- Right click on the
EdgeDiagnosticAdapter
and chooseProperties
- In the properties dialog go to
C/C++ -> General
- On the
Additional Include Directories
choose edit - Add your directories in the new dialog
#Building Once you're setup building is as easy as opening up the solution in Visual Studio and hitting build. Build will drop the exe in the bin directory (either debug or release). Fortunately in almost all cases you only need to build and test the version that matches your OS (likely x64) version, because Edge runs in the same bitness as your OS.