cmake magic for Ruby/Korundum programs?

Egon Willighagen ewilligh at uni-koeln.de
Thu Sep 14 13:38:58 CEST 2006


On Wednesday 13 September 2006 19:22, Alexander Neundorf wrote:
> On Wednesday 13 September 2006 18:59, Egon Willighagen wrote:
> > just visited the #kde-ruby and asked about an example cmake config file
> > for installing a ruby script and detection of korundum. Richard Dale has
> > not heard of something like that, so I turn here... the reason is that I
> > would like to put my keyword-cloud 'whatsthisabout' Ruby hack in
> > trunk/playground [1].
> >
> > What should a cmake file look like for a Korundum program? Any pointers?
>
> Ok, can you please explain exactly what it needs to do ?

When installing things, it needs to check wether:

- make sure KDE is available
- Korundum is available
- ruby-xattr is available (though I might just incorporate the source of that)
- find the location where ruby libs should be installed

> You'll probably need the find_library(), find_path() etc. calls, and
> probably the install() command.
> You can have a look at the cmake manpage and here
> http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftware

OK, will look at this.

Egon

-- 
CUBIC
blog: http://chem-bla-ics.blogspot.com/


More information about the Kde-buildsystem mailing list