65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Ninja" Generator, CMake Version 3.21
|
|
|
|
# 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: Praktikum1
|
|
# Configurations: Debug
|
|
# =============================================================================
|
|
# =============================================================================
|
|
|
|
#############################################
|
|
# Rule for running custom commands.
|
|
|
|
rule CUSTOM_COMMAND
|
|
command = $COMMAND
|
|
description = $DESC
|
|
|
|
|
|
#############################################
|
|
# Rule for compiling C files.
|
|
|
|
rule C_COMPILER__Praktikum1_Debug
|
|
depfile = $DEP_FILE
|
|
deps = gcc
|
|
command = /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 executable.
|
|
|
|
rule C_EXECUTABLE_LINKER__Praktikum1_Debug
|
|
command = $PRE_LINK && /usr/bin/cc $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
|
|
description = Linking C executable $TARGET_FILE
|
|
restat = $RESTAT
|
|
|
|
|
|
#############################################
|
|
# Rule for re-running cmake.
|
|
|
|
rule RERUN_CMAKE
|
|
command = /snap/clion/184/bin/cmake/linux/bin/cmake --regenerate-during-build -S/home/vagrant/snp/snp-lab-code/P01_Erste_Schritte_mit_C -B/home/vagrant/snp/snp-lab-code/P01_Erste_Schritte_mit_C/cmake-build-debug
|
|
description = Re-running CMake...
|
|
generator = 1
|
|
|
|
|
|
#############################################
|
|
# Rule for cleaning all built files.
|
|
|
|
rule CLEAN
|
|
command = /snap/clion/184/bin/ninja/linux/ninja $FILE_ARG -t clean $TARGETS
|
|
description = Cleaning all built files...
|
|
|
|
|
|
#############################################
|
|
# Rule for printing all primary targets available.
|
|
|
|
rule HELP
|
|
command = /snap/clion/184/bin/ninja/linux/ninja -t targets
|
|
description = All primary targets available:
|
|
|