94 lines
3.1 KiB
Plaintext
94 lines
3.1 KiB
Plaintext
|
# CMAKE generated file: DO NOT EDIT!
|
||
|
# Generated by "Ninja" Generator, CMake Version 3.23
|
||
|
|
||
|
# 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: shadeOS
|
||
|
# Configurations: Debug
|
||
|
# =============================================================================
|
||
|
# =============================================================================
|
||
|
|
||
|
#############################################
|
||
|
# Rule for running custom commands.
|
||
|
|
||
|
rule CUSTOM_COMMAND
|
||
|
command = $COMMAND
|
||
|
description = $DESC
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for compiling C files.
|
||
|
|
||
|
rule C_COMPILER__shadeOS_libc_Debug
|
||
|
depfile = $DEP_FILE
|
||
|
deps = gcc
|
||
|
command = x86_64-elf-gcc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
||
|
description = Building C object $out
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for linking C static library.
|
||
|
|
||
|
rule C_STATIC_LIBRARY_LINKER__shadeOS_libc_Debug
|
||
|
command = $PRE_LINK && /home/core/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/222.4167.35/bin/cmake/linux/bin/cmake -E rm -f $TARGET_FILE && /usr/bin/ar qc $TARGET_FILE $LINK_FLAGS $in && /usr/bin/ranlib $TARGET_FILE && $POST_BUILD
|
||
|
description = Linking C static library $TARGET_FILE
|
||
|
restat = $RESTAT
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for compiling ASM_NASM files.
|
||
|
|
||
|
rule ASM_NASM_COMPILER__shadeOS.2ebin_Debug
|
||
|
depfile = $DEP_FILE
|
||
|
deps = gcc
|
||
|
command = /usr/bin/nasm $DEFINES $INCLUDES $FLAGS -MD $DEP_FILE -MT $out -f elf64 -o $out $in
|
||
|
description = Building ASM_NASM object $out
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for compiling C files.
|
||
|
|
||
|
rule C_COMPILER__shadeOS.2ebin_Debug
|
||
|
depfile = $DEP_FILE
|
||
|
deps = gcc
|
||
|
command = x86_64-elf-gcc $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__shadeOS.2ebin_Debug
|
||
|
command = $PRE_LINK && x86_64-elf-ld -n $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 = /home/core/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/222.4167.35/bin/cmake/linux/bin/cmake --regenerate-during-build -S/home/core/prj/personal/shadeos -B/home/core/prj/personal/shadeos/cmake-build-debug
|
||
|
description = Re-running CMake...
|
||
|
generator = 1
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for cleaning all built files.
|
||
|
|
||
|
rule CLEAN
|
||
|
command = /home/core/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/222.4167.35/bin/ninja/linux/ninja $FILE_ARG -t clean $TARGETS
|
||
|
description = Cleaning all built files...
|
||
|
|
||
|
|
||
|
#############################################
|
||
|
# Rule for printing all primary targets available.
|
||
|
|
||
|
rule HELP
|
||
|
command = /home/core/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/222.4167.35/bin/ninja/linux/ninja -t targets
|
||
|
description = All primary targets available:
|
||
|
|