Message: previous - next
Month: March 2011

TDE CMake learning Q - How does 'install ( FILES...' put things in 2 places?

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 04 Mar 2011 22:31:48 -0600

  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} )


  Is there something that says if to ${XDG_APPS_INSTALL_DIR} put it in both the
following places:


  The other install ( FILES... just end up in one place. (eg.

install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kruler )


install( FILES move.wav DESTINATION ${DATA_INSTALL_DIR}/kruler/sounds )


  What's the difference?

David C. Rankin, J.D.,P.E.