2021-09-28 00:59:23 +02:00
|
|
|
add_library(tailercommon sha-256.c sha-256.h tailer.c tailer.h)
|
2021-04-22 18:02:24 +02:00
|
|
|
|
2021-09-28 00:59:23 +02:00
|
|
|
add_executable(tailer tailer.main.c)
|
2021-04-22 18:02:24 +02:00
|
|
|
|
|
|
|
target_link_libraries(tailer tailercommon)
|
|
|
|
|
2021-09-28 00:59:23 +02:00
|
|
|
add_library(tailerpp tailerpp.hh tailerpp.cc)
|
2021-04-22 18:02:24 +02:00
|
|
|
target_link_libraries(tailerpp base)
|
|
|
|
|
2021-05-01 17:33:16 +02:00
|
|
|
add_custom_command(
|
2021-09-28 00:59:23 +02:00
|
|
|
OUTPUT tailerbin.h tailerbin.cc
|
|
|
|
COMMAND bin2c -n tailer_bin tailerbin tailer
|
|
|
|
DEPENDS bin2c tailer)
|
2021-05-01 17:33:16 +02:00
|
|
|
|
2021-09-28 00:59:23 +02:00
|
|
|
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})
|
2021-05-01 17:33:16 +02:00
|
|
|
target_link_libraries(tailerservice base)
|
|
|
|
|
2021-09-28 00:59:23 +02:00
|
|
|
add_executable(drive_tailer drive_tailer.cc)
|
2021-04-22 18:02:24 +02:00
|
|
|
|
2021-09-28 00:59:23 +02:00
|
|
|
target_include_directories(drive_tailer PUBLIC . .. ../fmtlib
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/..)
|
2022-03-14 06:44:12 +01:00
|
|
|
target_link_libraries(drive_tailer base tailercommon tailerpp ZLIB::ZLIB)
|