curl-library
How to make CURL with Visual Studio and link to MT runtime library ?
Date: Wed, 14 Jun 2017 21:28:54 +0800
Hi all,
I've tried use below command to generate the Visual Studio SLN file:
cmake ..
-G "Visual Studio 14 2015 Win64"
-DBUILD_SHARED_LIBS=OFF
-DCURL_STATICLIB=ON
-DOPENSSL_MSVC_STATIC_RT=ON
-DBUILD_SHARED_LIBS=OFF
But after opened the VS .sln file, the CURL always link to MD and MDd
runtime library, I've read https://github.com/curl/curl/pull/908 and
https://github.com/curl/curl/pull/908/commits/1fe3b0e9460c34777cd1ce3675137452f9557ab5
But still don't know how to add the flag to let the CURL link to MT runtime
library, please help..
Thanks
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-14