Message: previous - next
Month: December 2011

Re: [trinity-devel] Porting to cmake.

From: L0ner sh4dou <sh4dou@...>
Date: Fri, 9 Dec 2011 20:30:29 +0100
2011/12/9 Serghei Amelian <serghei@...>:
> On Friday 09 December 2011 20:31:02 L0ner sh4dou wrote:
>> While searching some info on the net about porting projects from
>> autotools to cmake i have found this:
>> Apparentely they have script that converts automatically .am files to
>> cmake files. I've run it on several not-yet-ported-to-cmake trinity
>> components, and it generated nearly whole CMake files structure. Yet
>> it doesn't generate config.h.cmake file which is needed (without it
>> compilation simply don't happen). I've asked for help on kde-devel irc
>> channel, but without any success (maybe I'll ask later).
>> Whole point is, maybe we could adapt this to generate our cmake files,
>> thus speeding whole porting to cmake?
> Actually writing cmake rules are realy simple, because I developed macros to
> simplify the process, is a simple copy/paste procedure. Most of time is
> consumed developing check procedures.
> Manually porting is preffered, because resulted files are very clean,
> predictible and easily debugable, with no useless dependencies.
> --
> Serghei

Ok, any pointers on which files I should look searching for
dependencies to include in CMake files?