|
|
|
@ -14,4 +14,17 @@ if(TARGET stm32cubemx) |
|
|
|
target_link_libraries(${TARGET_NAME} PUBLIC stm32cubemx) |
|
|
|
else() |
|
|
|
message(WARNING "[${TARGET_NAME}] Dependency 'stm32cubemx' not found.") |
|
|
|
endif() |
|
|
|
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 |
|
|
|
) |