From 6e4bfb406502a873a8bd5f685d66a8d608726d6d Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Sun, 1 Dec 2013 20:03:31 -0500 Subject: [PATCH] Add verbose option to CMakeLists.txt. --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8883a331ea..bfffce3bc6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,6 +11,11 @@ option(hdf5 "Enable HDF5 binary output" OFF) option(petsc "Enable PETSC for use in CMFD acceleration" OFF) option(debug "Compile with debug flags" OFF) option(optimize "Turn on all compiler optimization flags" OFF) +option(verbose "Create verbose Makefiles" OFF) + +if (verbose) + set(CMAKE_VERBOSE_MAKEFILE on) +endif() #=============================================================================== # MPI for distributed-memory parallelism