xdg question w.r.t cmake

Alexander Neundorf neundorf at kde.org
Wed Jul 25 01:26:33 BST 2007


On Tuesday 24 July 2007 19:39, Thiago Macieira wrote:
> Alexander Neundorf wrote:
> >Yes, I meant, let's say you are writing a non-KDE application.
> >Would it make sense for you to do the following
> >
> >find_package(Xdg)
> >
> >do this and that...
> >
> >install( mimetypes, icons ...)
>
> This is ok.
>
> >xdg_update_icon_cache()
> >xdg_update_mimetype_cache()
> >...
> >
> >exec_program(${XDG_DESKTOP_MENU_EXECUTABLE}  ... )
> >
> >Or would you think " No ! These are completely unrelated items and
> > shouldn't be handled in ONE file called FindXdg.cmake !">
> >So ?
>
> I don't see why those macros shouldn't be in the FindXdg.cmake file.

Ok, that's just what I wanted to know (we don't have a FindXdg.cmake file 
yet). So it makes sense to create one and put all that stuff in it...

Bye
Alex





More information about the kde-core-devel mailing list