STYLE: copy the executables from TRY_RUN() to

${CMAKE_BINARY_DIR}/CMakeFiles/ instead to ${CMAKE_BINARY_DIR}

Alex
This commit is contained in:
Alexander Neundorf 2007-09-17 10:53:20 -04:00
parent 423cdb561c
commit ed6d98c37c
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
// removed at the end of TRY_RUN and the user can run it manually
// on the target platform.
std::string copyDest = this->Makefile->GetHomeOutputDirectory();
copyDest += cmake::GetCMakeFilesDirectory();
copyDest += "/";
copyDest += cmSystemTools::GetFilenameWithoutExtension(
this->OutputFile.c_str());