cmake_minimum_required(VERSION 3.5)

project(memtest LANGUAGES C)

add_executable(memtest main.c cJSON/cJSON.c)

target_link_libraries(memtest pthread)

install(TARGETS memtest RUNTIME DESTINATION bin)
