[CMake] -Wno-dev not working?

Tom Kacvinsky tom.kacvinsky at vectorcast.com
Tue May 26 17:31:59 EDT 2015


Using cmake 2.8.11.2 built from source on Linux.  I am using -Wno-dev at
generation time:

CC=gcc cmake -Wno-dev ..

but I see messages like this:

Warning: Source file "license_mailer_pkg.ads" is listed multiple times for
target "license_gen"

I thought -Wno-dev would turn this off.  This is an expected warning given
the setup I have and I want to suppress it so as not to confuse other
developers.

What am I missing?

Thanks,

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150526/aebc7d5f/attachment.html>


More information about the CMake mailing list