diff options
| -rw-r--r-- | CMakeLists.txt | 1 | ||||
| -rw-r--r-- | second/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | second/Program.cs | 9 |
3 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c026b79..5010dcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,3 +14,4 @@ add_subdirectory(chello) add_subdirectory(baz) add_subdirectory(foobar) add_subdirectory(hello) +add_subdirectory(second) diff --git a/second/CMakeLists.txt b/second/CMakeLists.txt new file mode 100644 index 0000000..20703c6 --- /dev/null +++ b/second/CMakeLists.txt @@ -0,0 +1,6 @@ +add_dotnet_executable(Second + MAIN Program + SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Program.cs +) + +target_link_dotnet_libraries(Second PRIVATE Baz) diff --git a/second/Program.cs b/second/Program.cs new file mode 100644 index 0000000..e83e205 --- /dev/null +++ b/second/Program.cs @@ -0,0 +1,9 @@ +using System; + +class Program +{ + static void Main() + { + Baz.Print(); + } +} |
