----- Original Message -----
> I noticed today that the UseQt4 module appends a lot of different data
> to the COMPILE_DEFINITIONS property via add_definitions but appends
> only one item to various COMPILE_DEFINITIONS_<CONFIG> properties.
> 
> Is this a bug in the UseQt4 module?

I don't think that is a bug.

> 
> The reason I ran across this possible issue is I am implementing a new
> version of the UseQt4 module that communicates its compile definition
> results and its include_directory results via variables rather than
> setting directory properties (which is way too blunt an instrument for
> PLplot needs since that method affects every compilation in PLplot,
> not just the minority of Qt-related ones).

These situations is why I like the target usage requirements, which could make 
UseQt4.cmake, or perhaps any Use*.cmake obsolete.
http://community.kde.org/Frameworks/Epics/CMake_target_usage_requirements

Clint
--

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