-
Notifications
You must be signed in to change notification settings - Fork 40
Building
#Getting Setup
##Install VS 2013 For this project we've been working in VS2013 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/news/vs2013-community-vs.aspx just download and install it.
##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
- From a command prompt run bootstrap.bat
- Open a Visual Studio cmd prompt run in the directory above
- for 32 bit:
- Run b2 link=static threading=multi runtime-link=static
- Place the lib folder in external\boost_1_57_0\x86\
- for 64 bit:
- Run b2 link=static threading=multi runtime-link=static address-model=64
- Place the lib folder in external\boost_1_57_0\x64\
##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 release from github https://github.com/zaphoyd/websocketpp/releases/tag/0.5
- Unpack the zip into $\external
##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
IEDiagnosticAdapter
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).