testdiff2/libs/libevents/CMakeLists.txt
2023-12-06 13:21:56 -05:00

13 lines
548 B
CMake

find_package(Qt5 COMPONENTS Core REQUIRED)
add_library(libevents_generated)
target_include_directories(libevents_generated INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/libevents/libs/cpp/generated)
add_library(libevents_parser
definitions.cpp
libevents/libs/cpp/parse/parser.cpp
libevents/libs/cpp/protocol/receive.cpp
)
target_include_directories(libevents_parser PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(libevents_parser PUBLIC Qt5::Core)
target_link_libraries(libevents_parser PUBLIC comm)