[CMake] granular install advice

2010-12-17 Thread luxInteg
Greetings, I am learning cmake. If I were to have some homebrewed ModulesForCMakeIdiots.cmake from my learning project in say ${CMAKE_SOURCE_DIR}/modules and I set this command:- install(FILES ${CMAKE_SOURCE_DIR}/modules/*.cmake /usr/local/someplace ) do be done AT INSTALL time (i.e. I

Re: [CMake] granular install advice

2010-12-17 Thread Michael Hertling
On 12/17/2010 03:31 PM, luxInteg wrote: Greetings, I am learning cmake. If I were to have some homebrewed ModulesForCMakeIdiots.cmake from my learning project in say ${CMAKE_SOURCE_DIR}/modules and I set this command:- install(FILES ${CMAKE_SOURCE_DIR}/modules/*.cmake

Re: [CMake] granular install advice

2010-12-17 Thread luxInteg
On Friday 17 December 2010 22:03:12 Michael Hertling wrote: Besides, you can't specify the files for INSTALL(FILES ...) using the '*' and other globbing characters as they are meaningful only for the shell or specialized CMake commands like FILE(GLOB ...). ( er I sort of suspected you