[cmake-developers] Generator rule parameters question

Brad King brad.king at kitware.com
Thu Mar 20 08:45:34 EDT 2014


On 03/20/2014 04:44 AM, Jiri Malak wrote:
> Watcom linker need pass resource files (.res) as extra item.
> Is it possible to get in generator rules separated list of resource files (.res) and separate list
> of object files (.obj/.o)?

I don't think we do any explicit classification of .res files
currently.  The cmLocalGenerator::ExpandRuleVariable method
would have to be taught a new <RESOURCE_FILES> placeholder.
The generators that call ExpandRuleVariables will have to
populate the placeholder value accordingly.

-Brad




More information about the cmake-developers mailing list