diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2017-04-25 13:44:53 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2017-04-26 15:41:22 (GMT) |
commit | 8fb85c68bb0090b44df22c27dabc03da63602e5e (patch) | |
tree | 218cecb7d49796272113e44a269d72ad37d35e52 /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | a36fb229ba04321be3d0a2472a944c05fea987e9 (diff) | |
download | CMake-8fb85c68bb0090b44df22c27dabc03da63602e5e.zip CMake-8fb85c68bb0090b44df22c27dabc03da63602e5e.tar.gz CMake-8fb85c68bb0090b44df22c27dabc03da63602e5e.tar.bz2 |
CUDA: Makefile uses relative path for device linking status messages
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index a93b42d..a719887 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -122,7 +122,11 @@ void cmMakefileExecutableTargetGenerator::WriteDeviceExecutableRule( std::string buildEcho = "Linking "; buildEcho += linkLanguage; buildEcho += " device code "; - buildEcho += targetOutputReal; + buildEcho += this->LocalGenerator->ConvertToOutputFormat( + this->LocalGenerator->MaybeConvertToRelativePath( + this->LocalGenerator->GetCurrentBinaryDirectory(), + this->DeviceLinkObject), + cmOutputConverter::SHELL); this->LocalGenerator->AppendEcho( commands, buildEcho, cmLocalUnixMakefileGenerator3::EchoLink, &progress); } |