diff options
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..12d32ba --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,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) |