mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
CUDA: Device linking use now link options
properties LINK_OPTIONS and INTERFACE_LINK_OPTIONS are propagated to the device link step. To control which options are selected for normal link and device link steps, the $<DEVICE_LINK> and $<HOST_LINK> generator expressions can be used. Fixes: #18265
This commit is contained in:
@@ -60,6 +60,8 @@ public:
|
||||
std::string GetConfigName();
|
||||
|
||||
protected:
|
||||
void GetDeviceLinkFlags(std::string& linkFlags,
|
||||
const std::string& linkLanguage);
|
||||
void GetTargetLinkFlags(std::string& flags, const std::string& linkLanguage);
|
||||
|
||||
// create the file and directory etc
|
||||
|
||||
Reference in New Issue
Block a user