summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/simplelib.cu
diff options
context:
space:
mode:
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;
+}