Hi Eric,

> Honestly I do not see any benefit in this, but may be I did not
> understand what you meant?

Here is an example then:

Original version:

install(FILES
   atticamanager.h
   authentication.h

   DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
   COMPONENT Devel
)

install(FILES
   archive/archive.h

   DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib/archive
   COMPONENT Devel
)

install(FILES
   models/commentitemsmodel.h
   models/gameitemsmodel.h
   models/highscoresmodel.h
   DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib/models
   COMPONENT Devel
)

====
Here is what I would advise (of course by setting some option if you
want two have it also the "original" way):

install(FILES
   atticamanager.h
   authentication.h
   archive/archive.h
   models/commentitemsmodel.h
   models/gameitemsmodel.h
   models/highscoresmodel.h

   DESTINATION ${INCLUDE_INSTALL_DIR}/gluon/player/lib
   COMPONENT Devel
)

This way, it would be much cleaner and shorter to me.

Best Regards,
Laszlo Papp
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to