add_library(cJSON cJSON.c) include_directories(./cJSON) set_target_properties(cJSON PROPERTIES OUTPUT_NAME "cJSON")