diff options
author | Brad King <brad.king@kitware.com> | 2011-01-17 13:44:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-01-17 13:44:04 (GMT) |
commit | 144a82ca7eeb27cc105b683d932c8b2ee7415e71 (patch) | |
tree | 1313ce43704e74b05a44229c63b5d6f4623e3ec7 /bootstrap | |
parent | bace6500a35279ce3306b467dbfe6bdb50d3fb14 (diff) | |
download | CMake-144a82ca7eeb27cc105b683d932c8b2ee7415e71.zip CMake-144a82ca7eeb27cc105b683d932c8b2ee7415e71.tar.gz CMake-144a82ca7eeb27cc105b683d932c8b2ee7415e71.tar.bz2 |
bootstrap: --verbose implies verbose Makefiles (#11708)
Suggested-by: Nicolas Despres <nicolas.despres@gmail.com>
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1519,7 +1519,11 @@ export CXX export MAKE # Run bootstrap CMake to configure real CMake -"${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}" -DCMAKE_BOOTSTRAP=1 ${cmake_bootstrap_system_libs} +cmake_options="-DCMAKE_BOOTSTRAP=1" +if [ -n "${cmake_verbose}" ]; then + cmake_options="${cmake_options} -DCMAKE_VERBOSE_MAKEFILE=1" +fi +"${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}" ${cmake_options} ${cmake_bootstrap_system_libs} RES=$? if [ "${RES}" -ne "0" ]; then cmake_error 11 "Problem while running initial CMake" |