From dfd5692c86a6bab4151936e296f471e89c481adb Mon Sep 17 00:00:00 2001 From: TuxMonkey Date: Fri, 24 Oct 2025 15:09:03 +0800 Subject: [PATCH] changed CMakeLists.txt add some refs --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f328e3..10d3b2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,18 +8,18 @@ include("cmake/gcc-arm-none-eabi.cmake") # User is free to modify the file as much as necessary # +# 条件编译 所有车共用一套代码 + # option(BALANCE "Enable balance" ON) # option(STEER "Enable steer" ON) option(OMNI "Enable omni" ON) -#option(INFANTRY_OMNI "Enable infantry moni" ON) +# option(INFANTRY_OMNI "Enable infantry moni" ON) # option(HERO "Enable hero" ON) -#option(HERO_STEER "Enable hero_steer" ON) +# option(HERO_STEER "Enable hero_steer" ON) # option(DART_STAND "Enable dart stand" ON) # option(ENGINEER "Enable engineer" ON) - - # Setup compiler settings set(CMAKE_C_STANDARD 23) set(CMAKE_C_STANDARD_REQUIRED ON)