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:
Eric Haszlakiewicz
2020-04-21 03:51:16 +00:00
parent f6f76f9430
commit 55d053118e
5 changed files with 200 additions and 0 deletions

11
apps/CMakeLists.txt Normal file
View 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})