Merging latest master

This commit is contained in:
2021-07-13 16:21:51 +02:00
3 changed files with 14 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -51,7 +51,7 @@ int main (int argc, char *argv[]) {
bool bad_pulse_id = false;
if ( ( meta.frame_index != (frame_index_previous+1) ) ||
( (pulse_id-pulse_id_previous) < 0 ) ||
( (pulse_id-pulse_id_previous) <= 0 ) ||
( (pulse_id-pulse_id_previous) > 1000 ) ) {
bad_pulse_id = true;
+12
View File
@@ -0,0 +1,12 @@
file(GLOB SOURCES src/*.cpp)
add_library(jfj-udp-recv-lib STATIC ${SOURCES})
target_include_directories(jfj-udp-recv-lib PUBLIC include/)
target_link_libraries(jfj-udp-recv-lib external core-buffer-lib)
add_executable(jfj-udp-recv src/main.cpp)
set_target_properties(jfj-udp-recv PROPERTIES OUTPUT_NAME jfj_udp_recv)
target_link_libraries(jfj-udp-recv jfj-udp-recv-lib zmq rt)
enable_testing()
add_subdirectory(test/)