summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/simplelib.cu
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-01-06 16:03:16 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2020-01-13 17:50:37 (GMT)
commitc7ac13e8ed471497e672578816570535440e5815 (patch)
treed12e24ef3745ab1ab766fc3ae9485225100c9d84 /Tests/RunCMake/NinjaMultiConfig/simplelib.cu
parent4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3 (diff)
downloadCMake-c7ac13e8ed471497e672578816570535440e5815.zip
CMake-c7ac13e8ed471497e672578816570535440e5815.tar.gz
CMake-c7ac13e8ed471497e672578816570535440e5815.tar.bz2
CUDA: Mult-Config Ninja generator now supports CUDA
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/simplelib.cu')
-rw-r--r--Tests/RunCMake/NinjaMultiConfig/simplelib.cu9
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;
+}