diff --git a/project_old/paint_robot_old/CMakeLists.txt b/project_old/paint_robot_old/CMakeLists.txt index 8e60a3f..0256c09 100644 --- a/project_old/paint_robot_old/CMakeLists.txt +++ b/project_old/paint_robot_old/CMakeLists.txt @@ -14,4 +14,17 @@ if(TARGET stm32cubemx) target_link_libraries(${TARGET_NAME} PUBLIC stm32cubemx) else() message(WARNING "[${TARGET_NAME}] Dependency 'stm32cubemx' not found.") -endif() \ No newline at end of file +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 +) \ No newline at end of file