summaryrefslogtreecommitdiffstats
path: root/Tests/CSharpOnly/nested
diff options
context:
space:
mode:
authorKinan Mahdi <kinan.mahdi@gmail.com>2020-02-18 16:06:56 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-28 16:42:01 (GMT)
commitac6b18cd907392e4a6d5d76ac0f9e173a9cc7e32 (patch)
tree23315246444c32b4f30503e07518fd2cb87245d8 /Tests/CSharpOnly/nested
parent8625ffd939b3c74944f6da9652777f7ca137b856 (diff)
downloadCMake-ac6b18cd907392e4a6d5d76ac0f9e173a9cc7e32.zip
CMake-ac6b18cd907392e4a6d5d76ac0f9e173a9cc7e32.tar.gz
CMake-ac6b18cd907392e4a6d5d76ac0f9e173a9cc7e32.tar.bz2
CSharp: Add support for source groups with out-of-source builds
This also fixes support for multiple sources of the same name in different directories. Add a test for both problems. Issue: #19505
Diffstat (limited to 'Tests/CSharpOnly/nested')
-rw-r--r--Tests/CSharpOnly/nested/lib1.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/CSharpOnly/nested/lib1.cs b/Tests/CSharpOnly/nested/lib1.cs
new file mode 100644
index 0000000..c2fde4b
--- /dev/null
+++ b/Tests/CSharpOnly/nested/lib1.cs
@@ -0,0 +1,13 @@
+namespace CSharpOnly
+{
+ namespace nested
+ {
+ public class Lib1
+ {
+ public static int getResult()
+ {
+ return 23;
+ }
+ }
+ }
+}