diff options
author | Brad King <brad.king@kitware.com> | 2002-12-17 16:57:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-17 16:57:52 (GMT) |
commit | a45217f2a2e76c387eaa02c9a05e03bb924c14c5 (patch) | |
tree | fae2d1071f5f794e475c69166dbabbef2347d880 | |
parent | f433028b78d760c808855d0e8a5b2114a4d087d3 (diff) | |
download | CMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.zip CMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.tar.gz CMake-a45217f2a2e76c387eaa02c9a05e03bb924c14c5.tar.bz2 |
ENH: TryCompile should produce a verbose makefile.
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 1 |
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"); |