mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-01 13:10:45 +00:00
cunity: parse_examples: test example files
Test parsing and printing example files
This commit is contained in:
1 parent
896e52255b
commit
bb60d6def5
14 files changed
+458
No files matched your search
@@ -133,6 +133,8 @@ install(FILES ${PROJECT_BINARY_DIR}/cJSONConfig.cmake
|
||||
|
||||
option(ENABLE_CJSON_TEST "Enable building cJSON test" ON)
|
||||
if(ENABLE_CJSON_TEST)
|
||||
enable_testing()
|
||||
|
||||
set(TEST_CJSON cJSON_test)
|
||||
add_executable("${TEST_CJSON}" test.c)
|
||||
target_link_libraries("${TEST_CJSON}" "${CJSON_LIB}")
|
||||
|
||||
Reference in new issue
Block a user