Files
GD32_BOOT/tmp/1/CMakeFiles/rules.ninja
T
cbb 05069e3057 feat(cproject): 移除CAN DMA相关代码并优化编译配置
- 移除了CAN模块中的DMA相关代码,包括can_dma_init函数、
  DMA中断处理函数以及相关的全局变量和头文件包含

- 更新了项目构建配置,将优化级别从balanced改为size以减小
  固件体积

- 添加了-fno-exceptions和-fno-rtti编译选项以进一步优化代码

- 升级了GD32C10x_DFP包版本至1.5.0

- 调整了OTA跳转逻辑,增加了更安全的中断和外设关闭处理

- 修复了Flash写入时的重复包处理逻辑,增加错误标志清理机制

- 将AES加密算法中的gf_mul函数标记为noinline属性
2026-07-26 23:08:02 +08:00

215 lines
8.8 KiB
Plaintext

# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.31
# 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: Robot_V2.Release+GD32C103CB
# Configurations:
# =============================================================================
# =============================================================================
#############################################
# Rule for linking CXX executable.
rule CXX_EXECUTABLE_LINKER__Robot_V2.2eRelease.2bGD32C103CB_
command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armlink.exe $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES $in -o $TARGET_FILE --list=$TARGET_FILE.map && $POST_BUILD"
description = Linking CXX executable $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__Group_Source_Files_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__Group_sys_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__Group_device_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_EVAL_GD32C10x_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for compiling ASM files.
rule ASM_COMPILER__GigaDevice_Device_Startup_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -c -o $out $in
description = Building ASM object $out
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_Startup_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}C:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building C object $out
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for re-running cmake.
rule RERUN_CMAKE
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.kitware.cmake\3.31.12\bin\cmake.exe --regenerate-during-build -SG:\Robot_v2\BOOT\tmp\Robot_V2.Release+GD32C103CB -BG:\Robot_v2\BOOT\tmp\1
description = Re-running CMake...
generator = 1
#############################################
# Rule for cleaning all built files.
rule CLEAN
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.ninja.build.ninja\1.12.0\ninja.exe $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
#############################################
# Rule for printing all primary targets available.
rule HELP
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.ninja.build.ninja\1.12.0\ninja.exe -t targets
description = All primary targets available: