[cmake-developers] COMPILE_LANGUAGE generator expression
Brad King
brad.king at kitware.com
Mon Feb 23 15:22:12 EST 2015
On 02/23/2015 03:19 PM, Stephen Kelly wrote:
> Brad King wrote:
>> However, in VS >= 10 each source-specific property value must explicitly
>> reference the target-wide value to not be totally overridden.
>
> Is this already the case to handle the COMPILE_FLAGS source file property?
Yes. We generate %(AdditionalOptions) into the per-source value to
refer to the target-level value.
> For the convenience of buildsystems which do not target the IDEs, should we
> allow the use of COMPILE_LANGUAGE? And issue an error if using an IDE
> generator?
That sounds good. We can always define non-error behavior later.
-Brad
More information about the cmake-developers
mailing list