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/tailer/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 '')
-rw-r--r-- | src/tailer/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tailer/CMakeLists.txt b/src/tailer/CMakeLists.txt new file mode 100644 index 0000000..1d1fb15 --- /dev/null +++ b/src/tailer/CMakeLists.txt @@ -0,0 +1,24 @@ +add_library(tailercommon sha-256.c sha-256.h tailer.c tailer.h) + +add_executable(tailer tailer.main.c) + +target_link_libraries(tailer tailercommon) + +add_library(tailerpp tailerpp.hh tailerpp.cc) +target_link_libraries(tailerpp base) + +add_custom_command( + OUTPUT tailerbin.h tailerbin.cc + COMMAND bin2c -n tailer_bin tailerbin tailer + DEPENDS bin2c tailer) + +add_library(tailerservice tailer.looper.hh tailer.looper.cc + tailer.looper.cfg.hh tailerbin.h tailerbin.cc) +target_include_directories(tailerservice PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) +target_link_libraries(tailerservice base) + +add_executable(drive_tailer drive_tailer.cc) + +target_include_directories(drive_tailer PUBLIC . .. ../fmtlib + ${CMAKE_CURRENT_BINARY_DIR}/..) +target_link_libraries(drive_tailer base tailercommon tailerpp ZLIB::ZLIB) |