diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:55 +0000 |
commit | 5068d34c08f951a7ea6257d305a1627b09a95817 (patch) | |
tree | 08213e2be853396a3b07ce15dbe222644dcd9a89 /src/yajlpp/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | lnav-5068d34c08f951a7ea6257d305a1627b09a95817.tar.xz lnav-5068d34c08f951a7ea6257d305a1627b09a95817.zip |
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/yajlpp/CMakeLists.txt')
-rw-r--r-- | src/yajlpp/CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/yajlpp/CMakeLists.txt b/src/yajlpp/CMakeLists.txt new file mode 100644 index 0000000..73168ba --- /dev/null +++ b/src/yajlpp/CMakeLists.txt @@ -0,0 +1,27 @@ +add_library( + yajlpp STATIC + ../config.h.in + json_op.hh + json_ptr.hh + yajlpp.hh + yajlpp_def.hh + + json_op.cc + json_ptr.cc + yajlpp.cc +) + +target_include_directories(yajlpp PUBLIC . .. ../fmtlib + ${CMAKE_CURRENT_BINARY_DIR}/..) +target_link_libraries(yajlpp pcrepp yajl ncurses::libcurses) + +add_executable(test_yajlpp test_yajlpp.cc) +target_link_libraries(test_yajlpp yajlpp base ${lnav_LIBS}) +add_test(NAME test_yajlpp COMMAND test_yajlpp) + +add_executable(test_json_ptr test_json_ptr.cc) +target_link_libraries(test_json_ptr yajlpp base ${lnav_LIBS}) +add_test(NAME test_json_ptr COMMAND test_json_ptr) + +add_executable(drive_json_op drive_json_op.cc) +target_link_libraries(drive_json_op base yajlpp ${lnav_LIBS}) |