65 lines
2.3 KiB
Plaintext
65 lines
2.3 KiB
Plaintext
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Ninja" Generator, CMake Version 3.30
|
|
|
|
# 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: C
|
|
# Configurations: Debug
|
|
# =============================================================================
|
|
# =============================================================================
|
|
|
|
#############################################
|
|
# Rule for compiling C files.
|
|
|
|
rule C_COMPILER__C_unscanned_Debug
|
|
depfile = $DEP_FILE
|
|
deps = gcc
|
|
command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\JETBRA~1\CLION2~1.2\bin\mingw\bin\gcc.exe $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__C_Debug
|
|
command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\JETBRA~1\CLION2~1.2\bin\mingw\bin\gcc.exe $FLAGS $LINK_FLAGS $in -o $TARGET_FILE -Wl,--out-implib,$TARGET_IMPLIB -Wl,--major-image-version,0,--minor-image-version,0 $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
|
|
description = Linking C executable $TARGET_FILE
|
|
restat = $RESTAT
|
|
|
|
|
|
#############################################
|
|
# Rule for running custom commands.
|
|
|
|
rule CUSTOM_COMMAND
|
|
command = $COMMAND
|
|
description = $DESC
|
|
|
|
|
|
#############################################
|
|
# Rule for re-running cmake.
|
|
|
|
rule RERUN_CMAKE
|
|
command = "C:\Program Files\JetBrains\CLion 2024.3.2\bin\cmake\win\x64\bin\cmake.exe" --regenerate-during-build -SC:\Git\Hochschule\Semester3\C -BC:\Git\Hochschule\Semester3\C\cmake-build-debug
|
|
description = Re-running CMake...
|
|
generator = 1
|
|
|
|
|
|
#############################################
|
|
# Rule for cleaning all built files.
|
|
|
|
rule CLEAN
|
|
command = "C:\Program Files\JetBrains\CLion 2024.3.2\bin\ninja\win\x64\ninja.exe" $FILE_ARG -t clean $TARGETS
|
|
description = Cleaning all built files...
|
|
|
|
|
|
#############################################
|
|
# Rule for printing all primary targets available.
|
|
|
|
rule HELP
|
|
command = "C:\Program Files\JetBrains\CLion 2024.3.2\bin\ninja\win\x64\ninja.exe" -t targets
|
|
description = All primary targets available:
|
|
|