summaryrefslogtreecommitdiff
path: root/common/CMakeLists.txt
diff options
context:
space:
mode:
authorliuchang <[email protected]>2023-03-22 02:20:43 +0000
committerliuchang <[email protected]>2023-03-22 02:20:43 +0000
commit0f8b9ba46a16e63670ba21750dd3963edfc23b5d (patch)
tree4be63ca3a87762a7d13e17262da61a4e6eb114b0 /common/CMakeLists.txt
parentf48b403acc34f72df2679636e7c047c862045c5a (diff)
add project code
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r--common/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
new file mode 100644
index 0000000..d41da76
--- /dev/null
+++ b/common/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(common src/log.cpp src/session_table.cpp src/utils.cpp src/addr_tuple4.cpp src/raw_packet.cpp)
+
+target_link_libraries(common PUBLIC MESA_handle_logger)
+#target_link_libraries(common PUBLIC mrzcpd)
+target_include_directories(common PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
+
+add_subdirectory(libavl)
+add_subdirectory(test) \ No newline at end of file