You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
416 B
16 lines
416 B
set (STMSRC_INCLUDES
|
|
../Inc )
|
|
|
|
set(STMSRC_SOURCES
|
|
stm32f0xx_csl.c
|
|
stm32f0xx_it.c
|
|
system_stm32f0xx.c)
|
|
|
|
add_library(stmSources ${STMSRC_SOURCES})
|
|
target_compile_options(stmSources PRIVATE ${C_FLAGS})
|
|
target_compile_definitions(stmSources PRIVATE ${C_DEFS})
|
|
target_include_directories(stmSources PUBLIC ${STMSRC_INCLUDES})
|
|
target_link_libraries(stmSources sub::drivers)
|
|
|
|
add_library(sub::sources ALIAS stmSources)
|