Hello Sergei,

Thank you for your answer.
What I am trying to get is static libcurl which is linked with MSVCRT, not
LIBCMT.
I've tried it and I got libcurl.lib which seems not to exports curl API,
lib.exe /list outputs only .obj files.


On Thursday, August 27, 2015, Sergei Nikulov <[email protected]>
wrote:
>
>
> Hello Miroslav,
>
> As far as I understand you just need build static libcurl in debug mode.
> With cmake it can be done in following way.
> Create two folders within curl clone for ex."build.debug" and
> "build.release"
>
> in both folders call cmake
> #cmake .. -DCMAKE_USE_OPENSSL=OFF -DCURL_STATICLIB=ON
>
> then in build.debug
> #cmake --build . --config Debug
> this one should be built with Debug crt lib
>
> in build.release
> #cmake --build . --config Release
> this one should be built with Release crt lib
>
>
> Currently you've get both libcurl.lib with the same name in both folders.
> I believe, we should fix cmake scripts to set prefix "SD" - for static
> debug and "S" for static release.
>
> Could you please check if this will work for you?
> Thank you.
>
>
> --
> Best Regards,
> Sergei Nikulov
>


-- 


*Pozdrav,Miroslav Lazić*
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to