Flesh out the repository with example and tests
This commit is contained in:
parent
546eaa5d4d
commit
05c45bbc81
8 changed files with 165 additions and 57 deletions
22
example/CMakeLists.txt
Normal file
22
example/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
add_executable(
|
||||
example
|
||||
main.c
|
||||
)
|
||||
set_target_properties(
|
||||
example
|
||||
PROPERTIES
|
||||
C_STANDARD 23
|
||||
C_STANDARD_REQUIRED ON
|
||||
C_EXTENSIONS OFF
|
||||
)
|
||||
target_link_libraries(
|
||||
example
|
||||
PRIVATE
|
||||
json
|
||||
)
|
||||
target_include_directories(
|
||||
example
|
||||
PRIVATE
|
||||
${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue