summaryrefslogtreecommitdiffstats
path: root/Tests/CSharpOnly/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CSharpOnly/CMakeLists.txt')
-rw-r--r--Tests/CSharpOnly/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CSharpOnly/CMakeLists.txt b/Tests/CSharpOnly/CMakeLists.txt
new file mode 100644
index 0000000..0e3e39e
--- /dev/null
+++ b/Tests/CSharpOnly/CMakeLists.txt
@@ -0,0 +1,10 @@
+# a simple CSharp only test case
+project (CSharpOnly CSharp)
+
+# C# does not make any difference between STATIC and SHARED libs
+add_library(lib1 STATIC lib1.cs)
+add_library(lib2 SHARED lib2.cs)
+
+add_executable(CSharpOnly csharponly.cs)
+
+target_link_libraries(CSharpOnly lib1 lib2)