blob: 23eded5298276d18d90b349a3eefe03f2b1b0534 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
add_executable(s3select_test s3select_test.cpp)
target_include_directories(s3select_test PUBLIC ../rapidjson/include/ ../include)
add_executable(s3select_perf_test s3select_perf_test.cpp)
target_include_directories(s3select_perf_test PUBLIC ../rapidjson/include/ ../include)
add_executable(s3select_test_json_parser s3select_test_json_parser.cpp)
target_include_directories(s3select_test_json_parser PUBLIC ../rapidjson/include/ ../include)
find_package(Arrow QUIET)
if(Arrow_FOUND)
message( "arrow is installed")
target_link_libraries(s3select_test gtest gtest_main boost_date_time boost_thread boost_system parquet arrow pthread )
target_link_libraries(s3select_perf_test gtest gtest_main boost_date_time boost_thread boost_system parquet arrow pthread profiler)
target_link_libraries(s3select_test_json_parser gtest gtest_main boost_date_time boost_thread boost_system parquet arrow pthread )
else()
target_link_libraries(s3select_test gtest gtest_main boost_date_time boost_thread boost_system pthread )
target_link_libraries(s3select_perf_test gtest gtest_main boost_date_time boost_thread boost_system pthread profiler)
target_link_libraries(s3select_test_json_parser gtest gtest_main boost_date_time boost_thread boost_system pthread )
endif()
include(GoogleTest)
gtest_discover_tests(s3select_test)
gtest_discover_tests(s3select_perf_test)
gtest_discover_tests(s3select_test_json_parser)
|