cmake magic for Ruby/Korundum programs?
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 .
> > 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
OK, will look at this.
More information about the Kde-buildsystem