From a45217f2a2e76c387eaa02c9a05e03bb924c14c5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 17 Dec 2002 11:57:52 -0500 Subject: ENH: TryCompile should produce a verbose makefile. --- Source/cmTryCompileCommand.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index cece5a7..d40996f 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -153,6 +153,7 @@ int cmTryCompileCommand::CoreTryCompileCode( return -1; } + fprintf(fout, "SET(CMAKE_VERBOSE_MAKEFILE 1)\n"); fprintf(fout, "SET(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} ${COMPILE_DEFINITIONS}\")\n"); fprintf(fout, "SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} ${COMPILE_DEFINITIONS}\")\n"); fprintf(fout, "INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n"); -- cgit v0.12