Skip to content

Native Visual Studio solution/project files to compile in Windows x86/x64/Release/Debug

License

Notifications You must be signed in to change notification settings

sridharb1/websocketpp-x86_x64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

websocketpp-x86_x64

Native Visual Studio solution/project files to compile in Windows x86/x64/Release/Debug

Background

websocketpp provides a CMake-based build solution. This, in Windows, is not easy to use because of its inability to find dependencies easily and the quality of project/solution files that it generates. I have tried to remove all the extraneous junk and concentrate on Win32/x64/Release/Debug, with static libraries and DLL run-times.

Installation

Note

To compile websocketpp, you need

Fetching and compiling boost

  • Get the latest boost (I used v1.75). Instructions available at Boost with git
  • My projects follow this heirarchy. I keep all the projects in the same level, for e.g. zlib is in E:\Projects\zlib, websocketpp is in E:\Projects\websocketpp etc. boost sources would be in E:\Projects\Boost.
  • See below for concise instructions on fetching and compiling boost with Visual Studio.
  • The last command below installs boost headers and libraries in E:\Boost. These projects refer to this relative path (i.e. the installed boost is in one level higher than the Projects folder).
  • This command uses toolset=msvc-14.2 (aka VS 2019). As newer versions come, please adjust accordingly. Please refer to Boost Toolsets.
  • This builds static boost libraries for x86/x64/Release/Debug with CRT DLL runtimes. This is the combination that I use in all my projects.
git clone --recursive https://github.com/boostorg/boost.git
cd boost
.\bootstrap
.\b2 -a -j8 toolset=msvc-14.2 architecture=x86 address-model=32,64 --prefix=E:\Boost variant=debug,release link=static runtime-link=shared threading=multi install

About

Native Visual Studio solution/project files to compile in Windows x86/x64/Release/Debug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published