kopia lustrzana https://github.com/stlink-org/stlink
10 wiersze
180 B
CMake
10 wiersze
180 B
CMake
![]() |
set(TESTS
|
||
|
usb
|
||
|
)
|
||
|
|
||
|
foreach(test ${TESTS})
|
||
|
add_executable(${test} ${test}.c)
|
||
|
add_dependencies(${test} ${PROJECT_NAME})
|
||
|
target_link_libraries(${test} ${PROJECT_NAME})
|
||
|
endforeach()
|