Browse Source

适配老代码的cmake文件

master
Lizongdi 1 day ago
parent
commit
35274be076
  1. 13
      project_old/paint_robot_old/CMakeLists.txt

13
project_old/paint_robot_old/CMakeLists.txt

@ -15,3 +15,16 @@ if(TARGET stm32cubemx)
else()
message(WARNING "[${TARGET_NAME}] Dependency 'stm32cubemx' not found.")
endif()
target_include_directories(${TARGET_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/BASE/Inc
${CMAKE_CURRENT_SOURCE_DIR}/BASE/Protobuf/PSource
${CMAKE_CURRENT_SOURCE_DIR}/BASE/Inc/BSP/DLT
${CMAKE_CURRENT_SOURCE_DIR}/BASE/Inc/MSP
${CMAKE_CURRENT_SOURCE_DIR}/BASE/Inc/BSP
${CMAKE_CURRENT_SOURCE_DIR}/FSM/Inc
)
target_compile_options(${TARGET_NAME} PRIVATE
-Wno-error
)
Loading…
Cancel
Save