1 1.1 christos add_executable(readfile readfile.c) 2 1.1 christos target_link_libraries(readfile cbor) 3 1.1 christos 4 1.1 christos add_executable(create_items create_items.c) 5 1.1 christos target_link_libraries(create_items cbor) 6 1.1 christos 7 1.1 christos add_executable(streaming_parser streaming_parser.c) 8 1.1 christos target_link_libraries(streaming_parser cbor) 9 1.1 christos 10 1.1 christos add_executable(sort sort.c) 11 1.1 christos target_link_libraries(sort cbor) 12 1.1 christos 13 1.1 christos add_executable(hello hello.c) 14 1.1 christos target_link_libraries(hello cbor) 15 1.1 christos 16 1.1 christos find_package(cJSON) 17 1.1 christos 18 1.1 christos if(cJSON_FOUND) 19 1.1 christos add_executable(cjson2cbor cjson2cbor.c) 20 1.1 christos target_link_libraries(cjson2cbor cbor cjson) 21 1.1 christos endif() 22 1.1 christos 23 1.1 christos file(COPY data DESTINATION .) 24 1.1 christos 25