ENH: TryCompile should produce a verbose makefile.
This commit is contained in:
parent
f433028b78
commit
a45217f2a2
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user