< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Preliminary CMake support (b-cmake-experiment)


Hi,

I'd like to let you know that I've committed some CMake work to the
b-cmake-experiment branch (thanks to Byron who created it). I've also
updated a bit the http://www.resiprocate.org/CMake_Evaluation wiki
page but it will need more work.

I've successfully tested CMake for rutil, resip, dum, reflow and
reTurn on Debian (with SSL) and on Mac OS (without SSL). I'll try to
give it a shot on Windows tomorrow if I get some cycles. The unit
tests compile but they don't all pass / run well.

Among other questions, I wanted to get your opinion on the usage of
the contrib folder. I assumed that, generally speaking, we would
prefer looking for dependencies at the OS level and not under the
contrib folder.

Should we have the build system actively look into contrib when
searching for dependencies?

The only exception I've allowed so far is for cajun, the JSON parser,
since I couldn't find any Debian package for it. Also, this works well
because cajun doesn't seem to include any cpp file (it doesn't need to
be compiled on its own).

Also, if you have some time, I would appreciate if you could give it a
shot and give your comments :) There are some instructions at the top
of the wiki page.

All and all the work wasn't too bad so far. Besides fiddling with the
CMakeLists.txt files for each project I also had to create a few
helper scripts that can be used by the CMake FIND_PACKAGE function.
Those are located under build/cmake_modules.

Cheers,
Francis