mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
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
15 lines
138 B
Plaintext
15 lines
138 B
Plaintext
#include <cuda.h>
|
|
|
|
#ifdef _WIN32
|
|
__declspec(dllexport)
|
|
#endif
|
|
int simplelib()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
return simplelib();
|
|
}
|