xdg question w.r.t cmake

Thiago Macieira thiago at kde.org
Wed Jul 25 00:39:51 BST 2007


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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070724/be7eb26d/attachment.sig>


More information about the kde-core-devel mailing list