[cmake-developers] getting list of files for install targets
Brad King
brad.king at kitware.com
Thu Aug 17 08:46:13 EDT 2006
Matt Rogers wrote:
> I've got the XML generator working at the same level as the current cmake
> support in KDevelop. Is there was any way to get at the list of files that
> would be used in an install target, such as the icons or the headers, etc?
> I'd like to be able to at least divide the headers from the rest of the other
> items.
The install rules are recorded in a table of "install generators". See
cmMakefile::GetInstallGenerators to get the list. You may have to
modify the cmInstallGenerator API to get the information you need.
-Brad
More information about the cmake-developers
mailing list