diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-14 20:11:25 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-14 20:11:35 (GMT) |
commit | 93526fd91319d952e60760c735a9bb191bc4ede3 (patch) | |
tree | b898aa01d49af34cc2bbaa3bf3d22e67cc27f772 /Tests/RunCMake/NinjaMultiConfig/simplelib.cu | |
parent | 710371ca2f5032462e8dc352da869834bb421261 (diff) | |
parent | c7ac13e8ed471497e672578816570535440e5815 (diff) | |
download | CMake-93526fd91319d952e60760c735a9bb191bc4ede3.zip CMake-93526fd91319d952e60760c735a9bb191bc4ede3.tar.gz CMake-93526fd91319d952e60760c735a9bb191bc4ede3.tar.bz2 |
Merge topic 'ninja_multi_config_support_cuda'
c7ac13e8ed CUDA: Mult-Config Ninja generator now supports CUDA
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4187
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/simplelib.cu')
-rw-r--r-- | Tests/RunCMake/NinjaMultiConfig/simplelib.cu | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/simplelib.cu b/Tests/RunCMake/NinjaMultiConfig/simplelib.cu new file mode 100644 index 0000000..7fc0812 --- /dev/null +++ b/Tests/RunCMake/NinjaMultiConfig/simplelib.cu @@ -0,0 +1,9 @@ +#include <cuda.h> + +#ifdef _WIN32 +__declspec(dllexport) +#endif + int simplelib() +{ + return 0; +} |