From 4a44539963b92e18a31efa08bca2013824c5213f Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Tue, 30 Jun 2026 22:27:32 +0200 Subject: Move target registration into add_dotnet_library/executable, remove add_dotnet_target --- build/CMakeFiles/rules.ninja | 75 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 build/CMakeFiles/rules.ninja (limited to 'build/CMakeFiles/rules.ninja') diff --git a/build/CMakeFiles/rules.ninja b/build/CMakeFiles/rules.ninja new file mode 100644 index 0000000..8fff344 --- /dev/null +++ b/build/CMakeFiles/rules.ninja @@ -0,0 +1,75 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Ninja" Generator, CMake Version 4.3 + +# This file contains all the rules used to get the outputs files +# built from the input files. +# It is included in the main 'build.ninja'. + +# ============================================================================= +# Project: HelloCMake +# Configurations: +# ============================================================================= +# ============================================================================= + +############################################# +# Rule for running custom commands. + +rule CUSTOM_COMMAND + command = $COMMAND + description = $DESC + + +############################################# +# Rule for compiling C files. + +rule C_COMPILER__hello_c_unscanned_ + depfile = $DEP_FILE + deps = gcc + command = ${LAUNCHER}${CODE_CHECK}/usr/bin/cc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in + description = Building C object $out + + +############################################# +# Rule for linking C shared library. + +rule C_SHARED_LIBRARY_LINKER__hello_c_ + depfile = $DEP_FILE + deps = gcc + command = $PRE_LINK && /usr/bin/cc -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD + description = Linking C shared library $TARGET_FILE + restat = $RESTAT + + +############################################# +# Rule for re-running cmake. + +rule RERUN_CMAKE + command = /usr/bin/cmake --regenerate-during-build -S/home/nice/develop/probe/csharp -B/home/nice/develop/probe/csharp/build + description = Re-running CMake... + generator = 1 + + +############################################# +# Rule for re-checking globbed directories. + +rule VERIFY_GLOBS + command = /usr/bin/cmake -P /home/nice/develop/probe/csharp/build/CMakeFiles/VerifyGlobs.cmake + description = Re-checking globbed directories... + generator = 1 + + +############################################# +# Rule for cleaning all built files. + +rule CLEAN + command = /usr/bin/ninja $FILE_ARG -t clean $TARGETS + description = Cleaning all built files... + + +############################################# +# Rule for printing all primary targets available. + +rule HELP + command = /usr/bin/ninja -t targets + description = All primary targets available: + -- cgit v1.2.3