Files
json-c/apps/CMakeLists.txt
Eric Haszlakiewicz 55d053118e Add an apps directory, and a json_parse program to parse an input file and report on memory usage.
This is intended to provide a way, during development, to test out the memory
and performance impacts of a change.
2020-04-21 03:57:56 +00:00

12 lines
420 B
CMake

# Note: it is intentional that there are no install instructions here yet.
# When/if the interface of the app(s) listed here settles down enough to
# publish as part of a regular build that will be added.
add_executable(json_parse json_parse.c)
#target_compile_definitions(json_parse PRIVATE TEST_FORMATTED=1)
target_link_libraries(json_parse PRIVATE ${PROJECT_NAME})
include_directories(PUBLIC ${CMAKE_SOURCE_DIR})