28 lines
520 B
CMake
28 lines
520 B
CMake
set(KPI_Rover_LEDMode_Inc
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
set(KPI_Rover_LEDMode_Src
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ulLEDMode.c
|
|
)
|
|
|
|
add_library(KPI_Rover_LEDMode STATIC)
|
|
|
|
target_include_directories(KPI_Rover_LEDMode PRIVATE
|
|
${KPI_Rover_LEDMode_Inc}
|
|
)
|
|
|
|
target_sources(KPI_Rover_LEDMode PRIVATE
|
|
${KPI_Rover_LEDMode_Src}
|
|
)
|
|
|
|
target_link_libraries(KPI_Rover_LEDMode PRIVATE
|
|
FREERTOS_H
|
|
HAL_H
|
|
)
|
|
|
|
add_library(KPI_Rover_LEDMode_H INTERFACE)
|
|
target_include_directories(KPI_Rover_LEDMode_H INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|