[CMake] Help for a cmake newbie
Cristian Adam
cristian.adam at gmail.com
Sun Jan 31 03:40:41 EST 2016
On 31-Jan-16 03:42, vadtec wrote:
>
> curl, libiconv, libpng, libssh2, and zlib are the libs I want to build
> and use both on Linux and Windows. I know all of those are available
> on Linux and I could use the system installed versions, but I want to
> use the same vesions on Windows as well. The server is only built on
> Linux, while the client needs to be built for Linux and Windows. All
> the libs, headers, etc go into the build directory, and the final
> "make install" puts everything into the bundle directory, so it can be
> packaged for distribution.
>
Have a look at hunter <https://github.com/ruslo/hunter/> –
Cross-platform package manager for C++ (based on CMake ExternalProject).
Hunter has CMake versions for:
* libpng <https://github.com/ruslo/hunter/wiki/pkg.png>
* libssh2 <https://github.com/ruslo/hunter/wiki/pkg.libssh2>
* zlib <https://github.com/ruslo/hunter/wiki/pkg.zlib>
Curl <https://github.com/bagder/curl> has CMake support by itself. The
only library missing is libiconv. It seems that
LuaDist project has added a CMake build here
<https://github.com/LuaDist/libiconv>.
You could either take all the libraries and include in your project or
open hunter tickets. <https://github.com/ruslo/hunter/issues>
Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160131/1eca8ff2/attachment-0001.html>
More information about the CMake
mailing list