Guys,
I'm making headway figuring out CMake so I can be a bit more helpful. I'm
currently reverse engineering kruler (it's small enough to learn with). So far,
the kruler CMakeLists.txt is easy to follow, but I can't figure out how the
following creates 2 files??
install( FILES kruler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
/opt/trinity/share/applications/kde/kruler.desktop
/opt/trinity/share/applnk/Graphics/kruler.desktop
Is there something that says if to ${XDG_APPS_INSTALL_DIR} put it in both the
following places:
/opt/trinity/share/applications/kde/
/opt/trinity/share/applnk/Graphics/
The other install ( FILES... just end up in one place. (eg.
install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kruler )
/opt/trinity/share/apps/kruler/eventsrc
install( FILES move.wav DESTINATION ${DATA_INSTALL_DIR}/kruler/sounds )
/opt/trinity/share/apps/kruler/sounds/move.wav
What's the difference?
--
David C. Rankin, J.D.,P.E.