[cmake-developers] add_custom_command changes, was [Introductions and questions]

Brad King brad.king at kitware.com
Mon Feb 3 14:43:35 EST 2014


On 01/29/2014 05:54 PM, Steve Wilson wrote:
> Is there a need for the add_custom_command() version with CONFIG?

Yes.  Petr's example of handling per-config OUTPUT is one justification.
It is also easier to write and read code using the proposed CONFIG
option rather than generator expressions, especially when the command
is only to be executed in a subset of configurations.

Thanks,
-Brad



More information about the cmake-developers mailing list