[cmake-developers] CMake API for warnings

Ruslan Baratov ruslan_baratov at yahoo.com
Wed Apr 27 02:19:10 EDT 2016


On 26-Apr-16 01:58, Brad King wrote:
> On 04/23/2016 12:11 AM, Ruslan Baratov wrote:
>> It means ignoring directory properties. So by default we will inherit settings.
> [snip]
>> To disable inheriting we need to add extra argument (?) to *_compile_warnings:
>>
>>       add_compile_warnings(DISABLE warn-A)
>>       target_compile_warnings(foo DISABLE warn-B IGNORE DIRECTORY)
> We don't have such a feature for any of the other build settings so
> there is no precedent for how to represent this or its exact semantics.

Okay, fair enough, let's skip it.

Ruslo


More information about the cmake-developers mailing list