|
file(GLOB TEST_SRCS **.c)
|
|
|
|
foreach(TEST_SRC ${TEST_SRCS})
|
|
get_filename_component(EXEC_NAME ${TEST_SRC} NAME_WLE)
|
|
add_executable(${EXEC_NAME} ${TEST_SRC})
|
|
add_test(NAME ${EXEC_NAME} COMMAND ${EXEC_NAME})
|
|
target_link_libraries(${EXEC_NAME} cieter unity)
|
|
endforeach()
|