summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-17 16:57:52 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-17 16:57:52 (GMT)
commita45217f2a2e76c387eaa02c9a05e03bb924c14c5 (patch)
treefae2d1071f5f794e475c69166dbabbef2347d880 /Source/cmTryCompileCommand.cxx
parentf433028b78d760c808855d0e8a5b2114a4d087d3 (diff)
downloadCMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.zip
CMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.tar.gz
CMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.tar.bz2
ENH: TryCompile should produce a verbose makefile.
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx1
1 files changed, 1 insertions, 0 deletions
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");