On 2013-07-25 11:25, Stephen Kelly wrote:
Brad King wrote:
On 07/25/2013 09:16 AM, Stephen Kelly wrote:
Should we treat the INTERFACE_INCLUDE_DIRECTORIES of all IMPORTED targets
as SYSTEM includes automatically?

I don't think so because one could be importing targets from a dependency
that was just built as part of a "superbuild" and may want to see the
warnings.

I considered that, but if you're building it as part of a superbuild, you'll
still get the warning when building the dependency itself.

Not necessarily; library A may provide a utility header that it doesn't actually use internally, and library B may use it and produce a warning. (Besides there is more chance of noticing a warning the more times it trips. For that matter, wouldn't this defeat the purpose in the original post of being able to include Qt as non-SYSTEM?)

--
Matthew

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to