summaryrefslogtreecommitdiffstats
path: root/Tests/CSharpLinkToCxx/csharp.cs
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-20 14:14:45 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-21 06:37:15 (GMT)
commit51865fc67ecd61d9cbf984be0310f2e9fb8ff455 (patch)
tree8074f627dbc519557e2fe164a74d90fc5afcc464 /Tests/CSharpLinkToCxx/csharp.cs
parentb7799f07d1bcf2708976b41aa07047c04e5ee3d0 (diff)
downloadCMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.zip
CMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.tar.gz
CMake-51865fc67ecd61d9cbf984be0310f2e9fb8ff455.tar.bz2
Vs: allow CSharp targets to be linked to CXX targets
Fixes: #16755
Diffstat (limited to 'Tests/CSharpLinkToCxx/csharp.cs')
-rw-r--r--Tests/CSharpLinkToCxx/csharp.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/CSharpLinkToCxx/csharp.cs b/Tests/CSharpLinkToCxx/csharp.cs
new file mode 100644
index 0000000..35c5cc3
--- /dev/null
+++ b/Tests/CSharpLinkToCxx/csharp.cs
@@ -0,0 +1,16 @@
+using System;
+using CLIApp;
+
+namespace CSharpLinkToCxx
+{
+ internal class CSharpLinkToCxx
+ {
+ public static void Main(string[] args)
+ {
+ Console.WriteLine("#message from CSharpLinkToCxx");
+
+ var app = new MyCli();
+ app.testMyCli();
+ }
+ }
+}