On Tuesday, August 26, 2014 10:41:04 Nils Gladitz wrote:
> Are there any official recommendations or opinions on how verbose a find
> module (or package configuration file) should be on success?
> 
> - Find modules using FindPackageHandleStandardArgs report success once.
> 
> - FindBoost.cmake reports success every time.
> 
> - Qt5 package configuration files (and find_package() in CONFIG mode
> specifically) keep quiet on success.

I think the recommendation is to report when it fails, and whenever something 
changes in the successful result, i.e. on the first success and potentially if 
on a later run some additionaly module or something has been found. IOW what 
FindPackageHandleStandardArgs.cmake does.

Alex

-- 

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