2016-02-07 21:58:58 +00:00
|
|
|
add_executable (expression expression.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (expression PRIVATE dbms clickhouse_parsers)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (create_query create_query.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (create_query PRIVATE dbms clickhouse_parsers)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (select_query select_query.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (select_query PRIVATE clickhouse_storages_system dbms clickhouse_common_io)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (aggregate aggregate.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (aggregate PRIVATE dbms)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hash_map hash_map.cpp)
|
2018-06-06 20:21:58 +00:00
|
|
|
target_include_directories (hash_map SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (hash_map PRIVATE dbms clickhouse_compression)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2019-02-28 09:35:38 +00:00
|
|
|
add_executable (hash_map_lookup hash_map_lookup.cpp)
|
|
|
|
target_include_directories (hash_map_lookup SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
|
|
|
|
target_link_libraries (hash_map_lookup PRIVATE dbms clickhouse_compression)
|
|
|
|
|
2016-02-07 21:58:58 +00:00
|
|
|
add_executable (hash_map3 hash_map3.cpp)
|
2019-01-28 14:00:50 +00:00
|
|
|
target_include_directories(hash_map3 SYSTEM BEFORE PRIVATE ${METROHASH_INCLUDE_DIR})
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (hash_map3 PRIVATE dbms ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hash_map_string hash_map_string.cpp)
|
2018-08-10 04:02:56 +00:00
|
|
|
target_include_directories (hash_map_string SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (hash_map_string PRIVATE dbms clickhouse_compression)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hash_map_string_2 hash_map_string_2.cpp)
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (hash_map_string_2 PRIVATE dbms clickhouse_compression)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hash_map_string_3 hash_map_string_3.cpp)
|
2019-01-28 14:00:50 +00:00
|
|
|
target_include_directories(hash_map_string_3 SYSTEM BEFORE PRIVATE ${METROHASH_INCLUDE_DIR})
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (hash_map_string_3 PRIVATE dbms clickhouse_compression ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (hash_map_string_small hash_map_string_small.cpp)
|
2018-06-06 20:21:58 +00:00
|
|
|
target_include_directories (hash_map_string_small SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (hash_map_string_small PRIVATE dbms clickhouse_compression)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (two_level_hash_map two_level_hash_map.cpp)
|
2018-06-06 20:21:58 +00:00
|
|
|
target_include_directories (two_level_hash_map SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
|
2018-12-28 18:15:26 +00:00
|
|
|
target_link_libraries (two_level_hash_map PRIVATE dbms clickhouse_compression)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (compiler_test compiler_test.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (compiler_test PRIVATE dbms)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (logical_expressions_optimizer logical_expressions_optimizer.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (logical_expressions_optimizer PRIVATE dbms clickhouse_parsers)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
|
|
|
add_executable (in_join_subqueries_preprocessor in_join_subqueries_preprocessor.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (in_join_subqueries_preprocessor PRIVATE dbms clickhouse_parsers)
|
2016-11-13 02:19:38 +00:00
|
|
|
add_check(in_join_subqueries_preprocessor)
|
2016-02-07 21:58:58 +00:00
|
|
|
|
2018-10-19 15:33:40 +00:00
|
|
|
add_executable (expression_analyzer expression_analyzer.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (expression_analyzer PRIVATE dbms clickhouse_storages_system clickhouse_parsers clickhouse_common_io)
|
2018-10-19 15:33:40 +00:00
|
|
|
add_check(expression_analyzer)
|
|
|
|
|
2016-02-07 21:58:58 +00:00
|
|
|
add_executable (users users.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (users PRIVATE dbms clickhouse_common_config ${Boost_FILESYSTEM_LIBRARY})
|
2018-05-17 16:01:41 +00:00
|
|
|
|
2018-08-22 05:56:06 +00:00
|
|
|
if (OS_LINUX)
|
|
|
|
add_executable (internal_iotop internal_iotop.cpp)
|
2019-01-28 18:21:20 +00:00
|
|
|
target_link_libraries (internal_iotop PRIVATE dbms Threads::Threads)
|
2018-08-22 05:56:06 +00:00
|
|
|
endif ()
|