View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0011708 | CMake | CMake | public | 2011-01-16 14:15 | 2011-01-31 15:57 |
|
Reporter | Nicolas Despres | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Linux 2.6.32-27-generic #49 i686 | OS | Ubuntu | OS Version | 10.04.1 LTS |
Product Version | CMake 2.8.3 | |
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |
|
Summary | 0011708: boostrap --verbose imply -DCMAKE_VERBOSE_MAKEFILE=ON |
Description | When debugging cmake I find it very convenient to have verbose makefile. So why not having bootstrap --verbose that imply -DCMAKE_VERBOSE_MAKEFILE=ON when executing the bootstrapped cmake.
I have attached a patch that do this based on master 3ddabcbadfa |
Tags | No tags attached. |
|
Attached Files | verbose-bootstrap-imply-verbose-makefile.patch [^] (780 bytes) 2011-01-16 14:15 [Show Content] [Hide Content]diff --git bootstrap bootstrap
index b4e19ef..7623c13 100755
--- bootstrap
+++ bootstrap
@@ -1494,7 +1494,12 @@ 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}" ${cmake_bootstrap_system_libs}
+if [ -n "${cmake_verbose}" ]; then
+ cmake_verbose_makefile='ON'
+else
+ cmake_verbose_makefile='OFF'
+fi
+"${cmake_bootstrap_dir}/cmake" "${cmake_source_dir}" "-C${cmake_bootstrap_dir}/InitialCacheFlags.cmake" "-G${cmake_bootstrap_generator}" "-DCMAKE_VERBOSE_MAKEFILE=${cmake_verbose_makefile}" ${cmake_bootstrap_system_libs}
RES=$?
if [ "${RES}" -ne "0" ]; then
cmake_error 11 "Problem while running initial CMake"
|
|