On 06/16/2014 01:48 PM, J Decker wrote:
> Hmmm... environment variable doens't work very cleanly...

CMAKE_INSTALL_ALWAYS is meant to be set in the environment at
"make install" time for folks using the checkinstall tool
which wants file times to always be modified.

The proposed CMAKE_INSTALL_QUIET option could work in the
environment too for those that locally do not want to see
the output.  It would be purely an install-time decision
just like CMAKE_INSTALL_ALWAYS.

For reference, the original corresponding issue:

 Add QUIET option to install() command
 http://www.cmake.org/Bug/view.php?id=13761

also suggests the use case of an install(DIRECTORY) command
that knows it will be installing a lot of files and can be
specifically marked as QUIET while allowing others to report.

Both the install(... QUIET) option and some kind of project-
wide setting (like a global property) would have to be
implemented by generating different cmake_install.cmake
script content.  Perhaps the file(INSTALL) command used
for the actual install operation could learn a QUIET option.

-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