From 9bb17da786318cf6c056bdc8a5bfb100ae7ae81c Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Tue, 30 Jun 2026 20:56:43 +0200 Subject: Add Baz library with transitive PUBLIC dependency support --- baz/Baz.cs | 9 +++++++++ baz/CMakeLists.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 baz/Baz.cs create mode 100644 baz/CMakeLists.txt (limited to 'baz') diff --git a/baz/Baz.cs b/baz/Baz.cs new file mode 100644 index 0000000..f3b017f --- /dev/null +++ b/baz/Baz.cs @@ -0,0 +1,9 @@ +using System; + +public class Baz +{ + public static void Print() + { + Console.WriteLine("Baz"); + } +} diff --git a/baz/CMakeLists.txt b/baz/CMakeLists.txt new file mode 100644 index 0000000..0c8065e --- /dev/null +++ b/baz/CMakeLists.txt @@ -0,0 +1,3 @@ +add_dotnet_library(Baz + SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Baz.cs +) -- cgit v1.2.3