Comments (5)
It is recommended required to explicitly use Boost_USE_STATIC_LIBS=ON
in case you want to link against static version of Boost. It is required to link against static Boost libraries in case you want to use static C/C++ runtime (this requirement is specific for Windows platform, I guess). It is not required to use static version of Boost in other cases (but I've never tested with dynamically linked Boost on Windows).
I appreciate if you could share output (console, MSVS) in case you have errors (cmake project generation errors or build errors, etc). There is nothing special in project forcing the way binaries are linked.
from asio_samples.
I'm using VS 2015 update 2 with static version of Boost C++ Libraries 1.60 and static version of Qt 5.6 also, BTW.
from asio_samples.
It seems that -D Boost_USE_STATIC_LIBS=OFF
is not enough to make Boost autolinking select dynamic libraries instead static (it seems that Boost autolinking almost always selects static libraries).
from asio_samples.
Fixed cmake project to turn off Boost autolinking in case -D Boost_USE_STATIC_LIBS=ON
is not used (by default Boost_USE_STATIC_LIBS
is OFF
according to FindBoost documentation) in pull request #51.
from asio_samples.
Tested with Boost 1.60 and MSVS 2015 update 2.
from asio_samples.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asio_samples.