ENH: centralized locaiton of CMakeFiles setting

This commit is contained in:
Ken Martin
2006-06-14 12:28:32 -04:00
parent 108839ffda
commit 8e9a6beccc
50 changed files with 229 additions and 172 deletions
+3 -1
View File
@@ -110,7 +110,9 @@ int cmTryCompileCommand::CoreTryCompileCode(
// signature
if (srcFileSignature)
{
tmpString = argv[1] + "/CMakeFiles/CMakeTmp";
tmpString = argv[1];
tmpString += cmake::GetCMakeFilesDirectory();
tmpString += "/CMakeTmp";
binaryDirectory = tmpString.c_str();
}
// make sure the binary directory exists