Browse Source

改为编译debug,同时解决缓存问题

master
Lizongdi 3 weeks ago
parent
commit
2134b1bca1
  1. 4
      .cproject
  2. 2
      CMakePresets.json

4
.cproject

@ -14,13 +14,13 @@
</extensions> </extensions>
</storageModule> </storageModule>
<storageModule moduleId="com.st.stm32cube.ide.cmake.cmakeTarget"> <storageModule moduleId="com.st.stm32cube.ide.cmake.cmakeTarget">
<src>D:\vedio\Lua_h743</src> <src>D:\vedio\BingooRobot_pro</src>
<build>build</build> <build>build</build>
<generator>Ninja</generator> <generator>Ninja</generator>
<cmake_build_type>Debug</cmake_build_type> <cmake_build_type>Debug</cmake_build_type>
<cmake_export_compile_commands/> <cmake_export_compile_commands/>
<cmake_toolchain_file>gcc-arm-none-eabi.cmake</cmake_toolchain_file> <cmake_toolchain_file>gcc-arm-none-eabi.cmake</cmake_toolchain_file>
<cmake_preset>minlua</cmake_preset> <cmake_preset>robot2</cmake_preset>
<misc_command/> <misc_command/>
</storageModule> </storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> <storageModule moduleId="cdtBuildSystem" version="4.0.0">

2
CMakePresets.json

@ -8,7 +8,7 @@
"toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake", "toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake",
"binaryDir": "${sourceDir}/build", "binaryDir": "${sourceDir}/build",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Release", "CMAKE_BUILD_TYPE": "Debug",
"A_BUILD_MAIN": "ON", "A_BUILD_MAIN": "ON",
"A_BUILD_MAIN_AS_STATIC_LIB": "ON", "A_BUILD_MAIN_AS_STATIC_LIB": "ON",
"MY_BUILD_STATIC": "ON" "MY_BUILD_STATIC": "ON"

Loading…
Cancel
Save