mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 16:29:06 +08:00
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.
This commit is contained in:
11
apps/CMakeLists.txt
Normal file
11
apps/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
# 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})
|
||||
|
||||
Reference in New Issue
Block a user