]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | add_executable(s3select_example s3select_example.cpp) |
2 | target_include_directories(s3select_example PUBLIC ../include) | |
20effc67 TL |
3 | |
4 | find_package(Arrow QUIET) | |
5 | ||
6 | if(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) | |
12 | else() | |
13 | target_link_libraries(s3select_example boost_date_time boost_system boost_thread boost_filesystem) | |
14 | endif() | |
f67539c2 TL |
15 | |
16 | add_executable(generate_rand_csv generate_rand_csv.c) | |
17 | ||
18 | add_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 | ||
22 | add_custom_target(expr_generator ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/expr_genrator.py) | |
23 |