diff options
| author | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-06-30 21:54:27 +0200 |
|---|---|---|
| committer | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2026-06-30 21:54:27 +0200 |
| commit | f19db5021361f1cf5780d1d06ceea26b8bf392e6 (patch) | |
| tree | 6686d13ad12edbfd355fa4f15cd4b38c15a67a1e /foobar | |
| parent | 3f45fd0c5abaa3090e4e13b60104d0fcffe257f6 (diff) | |
| download | csharp-cmake-f19db5021361f1cf5780d1d06ceea26b8bf392e6.tar.gz csharp-cmake-f19db5021361f1cf5780d1d06ceea26b8bf392e6.zip | |
Defer custom command creation with dotnet_finalize_targets and move NATIVE_DEPS to target_link_dotnet_libraries
Diffstat (limited to 'foobar')
| -rw-r--r-- | foobar/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/foobar/CMakeLists.txt b/foobar/CMakeLists.txt index f4ff2a7..83f29ab 100644 --- a/foobar/CMakeLists.txt +++ b/foobar/CMakeLists.txt @@ -1,6 +1,7 @@ +add_dotnet_target(FooBar) + add_dotnet_library(FooBar SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/FooBar.cs - DEPENDS Baz ) target_link_dotnet_libraries(FooBar PUBLIC Baz) |
