Manouchehri / serf

High-performance asynchronous HTTP client library
https://code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

CMake buildsystem for serf #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is more a wish than a bug...

I tried to build serf 0.7.2 on Windows using the serf.mak and failed because of 
fixed search paths/names for 3rdparty libraries (apr, openssl, zlib). Also, 
building with MS Visual Studio wasn't possible using serfmake.

So instead I wrote some files for the cmake buildsystem (http://www.cmake.org) 
based on the Makefile.in file.
It requires CMake version 2.8.4 if running the tests is required, you can hand 
edit the file CMakeLists.txt to use version 2.6 if you just want to test if it 
is possible to build serf this way.

to reproduce:
> tar xvjf serf-0.7.2.tar.bz2
> patch -d serf-0.7.2 -p1 < serf-0.7.2-20110522.diff
> cd serf-0.7.2 && mkdir build && cd build
> cmake .. -DCMAKE_INSTALL_PREFIX=~/serf-install && make && make install

if you have cmake 2.8.4, you can run tests by running 
> make test

Original issue reported on code.google.com by pspend...@googlemail.com on 22 May 2011 at 9:22

Attachments:

GoogleCodeExporter commented 9 years ago
We're going to be switching to scons. I appreciate the work you put into this, 
but cmake isn't in our future :-(

Original comment by gstein on 13 Jul 2011 at 6:48