diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2017-01-12 18:57:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-01-12 20:07:10 (GMT) |
commit | 05dbc940b7e19cdccd7ec73ea173719be66244e1 (patch) | |
tree | a1298888c13a76187a1e0921f9cb16d1d5afdfd8 /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 728820f3ea0faf55ffe1236a44a35e9197fc6291 (diff) | |
download | CMake-05dbc940b7e19cdccd7ec73ea173719be66244e1.zip CMake-05dbc940b7e19cdccd7ec73ea173719be66244e1.tar.gz CMake-05dbc940b7e19cdccd7ec73ea173719be66244e1.tar.bz2 |
CUDA: Don't use module definition `.def` files for device linking
These files are meaningful only to the host linker.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 4bc706c..b76ddeb 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -157,15 +157,6 @@ void cmMakefileExecutableTargetGenerator::WriteDeviceExecutableRule( this->LocalGenerator->AppendFlags( linkFlags, this->GeneratorTarget->GetProperty(linkFlagsConfig)); - { - CM_AUTO_PTR<cmLinkLineComputer> linkLineComputer( - this->CreateLinkLineComputer( - this->LocalGenerator, - this->LocalGenerator->GetStateSnapshot().GetDirectory())); - - this->AddModuleDefinitionFlag(linkLineComputer.get(), linkFlags); - } - // Construct a list of files associated with this executable that // may need to be cleaned. std::vector<std::string> exeCleanFiles; |