]> git.proxmox.com Git - ceph.git/blame - ceph/src/s3select/example/CMakeLists.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / s3select / example / CMakeLists.txt
CommitLineData
f67539c2
TL
1add_executable(s3select_example s3select_example.cpp)
2target_include_directories(s3select_example PUBLIC ../include)
20effc67
TL
3
4find_package(Arrow QUIET)
5
6if(Arrow_FOUND)
7 message( "arrow is installed")
8 add_executable(csv_to_parquet csv_to_parquet.cpp)
9 target_include_directories(csv_to_parquet PUBLIC ../include)
10 target_link_libraries(s3select_example boost_date_time boost_system boost_thread parquet arrow boost_filesystem)
11 target_link_libraries(csv_to_parquet boost_date_time boost_system boost_thread parquet arrow)
12else()
13 target_link_libraries(s3select_example boost_date_time boost_system boost_thread boost_filesystem)
14endif()
f67539c2
TL
15
16add_executable(generate_rand_csv generate_rand_csv.c)
17
18add_custom_command(OUTPUT expr_genrator.py COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/expr_genrator.py expr_genrator.py
19 COMMENT "Copy expr_genrator.py"
20 VERBATIM)
21
22add_custom_target(expr_generator ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/expr_genrator.py)
23