75 lines
2.6 KiB
Plaintext
75 lines
2.6 KiB
Plaintext
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Ninja" Generator, CMake Version 3.26
|
|
|
|
# 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: scara_engineering
|
|
# Configurations:
|
|
# =============================================================================
|
|
# =============================================================================
|
|
|
|
#############################################
|
|
# Rule for compiling ASM files.
|
|
|
|
rule ASM_COMPILER__scara_engineering.2eelf_unscanned_
|
|
depfile = $DEP_FILE
|
|
deps = gcc
|
|
command = C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
|
|
description = Building ASM object $out
|
|
|
|
|
|
#############################################
|
|
# Rule for compiling C files.
|
|
|
|
rule C_COMPILER__scara_engineering.2eelf_unscanned_
|
|
depfile = $DEP_FILE
|
|
deps = gcc
|
|
command = C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-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__scara_engineering.2eelf_
|
|
command = cmd.exe /C "$PRE_LINK && C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $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 = "C:\Program Files\JetBrains\CLion 2023.2.2\bin\cmake\win\x64\bin\cmake.exe" --regenerate-during-build -SD:\RM\@RM2025\scara_engineering -BD:\RM\@RM2025\scara_engineering\cmake-build-debug
|
|
description = Re-running CMake...
|
|
generator = 1
|
|
|
|
|
|
#############################################
|
|
# Rule for cleaning all built files.
|
|
|
|
rule CLEAN
|
|
command = C:\PROGRA~1\JETBRA~1\CLION2~1.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:\PROGRA~1\JETBRA~1\CLION2~1.2\bin\ninja\win\x64\ninja.exe -t targets
|
|
description = All primary targets available:
|
|
|