On 09/24/2015 05:45 PM, Michael Scott wrote:
> I've created a fix for the issue of -Wno-dev and -Wno-deprecated options 
> not being honoured, and extended the tests to cover this additional 
> scenario.

Thanks for working on it.

> However I'm having an issue with determining if variables are set in 
> cmake.cxx. The initial fix checked for the variables using the 
> "GetCacheEntryValue" method in cmState, but I found that this didn't 
> work when the variable (say CMAKE_WARN_DEPRECATED) was set in a .cmake 
> file, as is the case for the "RunCMake/message/warnmessage.cmake".

The cmake::Configure check for that runs before the scripts run so
it is not possible to get script-provided values there.  Do you have
a check in a new context that occurs later?  If so please provide the
patch in progress and point out the problem.

Thanks,
-Brad

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to