diff options
Diffstat (limited to 'third')
| -rw-r--r-- | third/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | third/Other.cs | 14 | ||||
| -rw-r--r-- | third/Program.cs | 10 |
3 files changed, 32 insertions, 0 deletions
diff --git a/third/CMakeLists.txt b/third/CMakeLists.txt new file mode 100644 index 0000000..df0b157 --- /dev/null +++ b/third/CMakeLists.txt @@ -0,0 +1,8 @@ +add_dotnet_target(Third) + +file(GLOB THIRD_SOURCES CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/*.cs) + +add_dotnet_executable(Third + MAIN Program + SOURCES ${THIRD_SOURCES} +) diff --git a/third/Other.cs b/third/Other.cs new file mode 100644 index 0000000..fbad5b6 --- /dev/null +++ b/third/Other.cs @@ -0,0 +1,14 @@ +using System; + +namespace Third +{ + public static class Other + { + public static void Haiku() + { + Console.WriteLine("Bugs in the code"); + Console.WriteLine("Winter compiles silently"); + Console.WriteLine("Spring runs with no bugs"); + } + } +} diff --git a/third/Program.cs b/third/Program.cs new file mode 100644 index 0000000..1afea0d --- /dev/null +++ b/third/Program.cs @@ -0,0 +1,10 @@ +using System; + +class Program +{ + static void Main() + { + Console.WriteLine("Third Project"); + Third.Other.Haiku(); + } +} |
