ClickHouse/dbms/src/Interpreters/tests/CMakeLists.txt

59 lines
2.3 KiB
CMake
Raw Normal View History

2016-02-07 21:58:58 +00:00
add_executable (expression expression.cpp)
target_link_libraries (expression dbms)
add_executable (create_query create_query.cpp)
target_link_libraries (create_query dbms)
add_executable (select_query select_query.cpp)
2017-06-18 05:55:46 +00:00
target_link_libraries (select_query clickhouse_storages_system dbms)
2016-02-07 21:58:58 +00:00
add_executable (aggregate aggregate.cpp)
target_link_libraries (aggregate dbms)
add_executable (hash_map hash_map.cpp)
target_include_directories (hash_map SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
2016-02-07 21:58:58 +00:00
target_link_libraries (hash_map dbms)
add_executable (hash_map3 hash_map3.cpp)
2018-04-08 04:54:23 +00:00
target_link_libraries (hash_map3 dbms ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})
2016-02-07 21:58:58 +00:00
add_executable (hash_map_string hash_map_string.cpp)
target_include_directories (hash_map_string SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
2016-02-07 21:58:58 +00:00
target_link_libraries (hash_map_string dbms)
add_executable (hash_map_string_2 hash_map_string_2.cpp)
target_link_libraries (hash_map_string_2 dbms)
add_executable (hash_map_string_3 hash_map_string_3.cpp)
2018-04-08 04:54:23 +00:00
target_link_libraries (hash_map_string_3 dbms ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})
2016-02-07 21:58:58 +00:00
add_executable (hash_map_string_small hash_map_string_small.cpp)
target_include_directories (hash_map_string_small SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
2016-02-07 21:58:58 +00:00
target_link_libraries (hash_map_string_small dbms)
add_executable (two_level_hash_map two_level_hash_map.cpp)
target_include_directories (two_level_hash_map SYSTEM BEFORE PRIVATE ${SPARCEHASH_INCLUDE_DIR})
2016-02-07 21:58:58 +00:00
target_link_libraries (two_level_hash_map dbms)
add_executable (compiler_test compiler_test.cpp)
target_link_libraries (compiler_test dbms)
add_executable (logical_expressions_optimizer logical_expressions_optimizer.cpp)
target_link_libraries (logical_expressions_optimizer dbms)
add_executable (in_join_subqueries_preprocessor in_join_subqueries_preprocessor.cpp)
target_link_libraries (in_join_subqueries_preprocessor dbms)
2016-11-13 02:19:38 +00:00
add_check(in_join_subqueries_preprocessor)
2016-02-07 21:58:58 +00:00
add_executable (expression_analyzer expression_analyzer.cpp)
target_link_libraries (expression_analyzer dbms clickhouse_storages_system)
add_check(expression_analyzer)
2016-02-07 21:58:58 +00:00
add_executable (users users.cpp)
target_link_libraries (users dbms ${Boost_FILESYSTEM_LIBRARY})
if (OS_LINUX)
add_executable (internal_iotop internal_iotop.cpp)
target_link_libraries (internal_iotop dbms)
endif ()