blob: 12d32ba2181b0fde74d34d8f52f792c610678b3f (
plain)
1
2
3
4
5
6
7
|
FILE(GLOB examples "*.c")
FOREACH(example ${examples})
GET_FILENAME_COMPONENT(example ${example} NAME_WE)
SET(CLI_SOURCES main.c)
ADD_EXECUTABLE(${example} ${example}.c)
TARGET_LINK_LIBRARIES(${example} libucode ${json})
ENDFOREACH(example)
|