2023-04-21 09:41:31 +08:00
|
|
|
include_directories(/opt/MESA/include/MESA/)
|
2023-02-15 11:53:46 +08:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
2022-11-17 05:05:35 +08:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/src/inc_internal)
|
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/deps)
|
2022-11-25 16:32:29 +08:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/scanner)
|
2023-03-01 09:32:36 +08:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/scanner/adapter_hs)
|
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/scanner/ip_matcher)
|
2022-11-17 05:05:35 +08:00
|
|
|
|
|
|
|
|
add_executable(rcu_hash_gtest rcu_hash_gtest.cpp)
|
2022-11-25 16:32:29 +08:00
|
|
|
target_link_libraries(rcu_hash_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2022-12-05 23:21:18 +08:00
|
|
|
add_executable(maat_input_mode_gtest maat_input_mode_gtest.cpp)
|
|
|
|
|
target_link_libraries(maat_input_mode_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2022-11-25 16:32:29 +08:00
|
|
|
add_executable(maat_framework_gtest maat_framework_gtest.cpp)
|
|
|
|
|
target_link_libraries(maat_framework_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2023-03-30 20:49:59 +08:00
|
|
|
add_executable(maat_framework_perf_gtest maat_framework_perf_gtest.cpp)
|
|
|
|
|
target_link_libraries(maat_framework_perf_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2023-02-09 22:13:15 +08:00
|
|
|
add_executable(adapter_hs_gtest adapter_hs_gtest.cpp)
|
|
|
|
|
target_link_libraries(adapter_hs_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2023-05-17 17:03:50 +08:00
|
|
|
add_executable(ip_matcher_gtest ip_matcher_gtest.cpp)
|
|
|
|
|
target_link_libraries(ip_matcher_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2023-02-24 17:29:38 +08:00
|
|
|
add_executable(maat_ex_data_gtest maat_ex_data_gtest.cpp)
|
|
|
|
|
target_link_libraries(maat_ex_data_gtest maat_frame_static gtest_static)
|
|
|
|
|
|
2023-05-15 07:24:36 +00:00
|
|
|
add_subdirectory(group_exclude)
|
|
|
|
|
|
2022-11-25 16:32:29 +08:00
|
|
|
file(COPY table_info.conf DESTINATION ./)
|
2023-03-17 17:28:52 +08:00
|
|
|
file(COPY file_test_tableinfo.conf DESTINATION ./)
|
2023-02-15 11:53:46 +08:00
|
|
|
file(COPY literal_expr.conf DESTINATION ./)
|
|
|
|
|
file(COPY regex_expr.conf DESTINATION ./)
|
2023-03-17 17:28:52 +08:00
|
|
|
file(COPY maat_json.json DESTINATION ./)
|
2023-04-10 13:40:21 +08:00
|
|
|
file(COPY maat_json.json DESTINATION ../tools/)
|
2023-03-17 17:28:52 +08:00
|
|
|
file(COPY ntcrule DESTINATION ./)
|
2023-03-30 15:22:33 +08:00
|
|
|
file(COPY testdata DESTINATION ./)
|
2023-04-24 02:14:26 +00:00
|
|
|
file(COPY test_streamfiles DESTINATION ./)
|
2023-05-04 17:10:19 +08:00
|
|
|
file(COPY json_update DESTINATION ./)
|
2023-05-15 07:24:36 +00:00
|
|
|
file(COPY group_exclude DESTINATION ./)
|
2023-04-24 02:14:26 +00:00
|
|
|
|
|
|
|
|
include(GoogleTest)
|
|
|
|
|
gtest_discover_tests(maat_framework_gtest)
|