Re: [CMake] HOWTO: Generate Use*.cmake files for installation

2010-10-01 Thread kent williams
No, I didn't get any clues as to how this is handled. In ITK it is handled subtly, which is to say I couldn't figure out how it worked from reading the CMakeLists.txt. What I ended up doing is to create the Config file twice -- once for the eventual installation, and once for the in-place usage.

[CMake] HOWTO: Generate Use*.cmake files for installation

2010-09-21 Thread kent williams
I need to do what ITK does -- generate one set of *Config.cmake and Use*.cmake files for the build tree, so it can be used in place, and a second set to be installed when 'make install' is run. Looking through the Insight CMakeLists.txt files I'm not seeing how or where the files intended for the