65 lines
1.9 KiB
Plaintext
65 lines
1.9 KiB
Plaintext
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Ninja" Generator, CMake Version 3.27
|
|
|
|
# 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: study_cpp
|
|
# Configurations: Debug
|
|
# =============================================================================
|
|
# =============================================================================
|
|
|
|
#############################################
|
|
# Rule for compiling C files.
|
|
|
|
rule C_COMPILER__study_cpp_unscanned_Debug
|
|
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 executable.
|
|
|
|
rule C_EXECUTABLE_LINKER__study_cpp_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 running custom commands.
|
|
|
|
rule CUSTOM_COMMAND
|
|
command = $COMMAND
|
|
description = $DESC
|
|
|
|
|
|
#############################################
|
|
# Rule for re-running cmake.
|
|
|
|
rule RERUN_CMAKE
|
|
command = /usr/bin/cmake --regenerate-during-build -S/home/hmtsai/projects/study_cpp -B/home/hmtsai/projects/study_cpp/build
|
|
description = Re-running CMake...
|
|
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:
|
|
|