ClickHouse/src/AggregateFunctions/CMakeLists.txt

30 lines
929 B
CMake
Raw Normal View History

include(${ClickHouse_SOURCE_DIR}/cmake/dbms_glob_sources.cmake)
add_headers_and_sources(clickhouse_aggregate_functions .)
list(REMOVE_ITEM clickhouse_aggregate_functions_sources
AggregateFunctionFactory.cpp
AggregateFunctionCombinatorFactory.cpp
AggregateFunctionCount.cpp
2017-12-24 10:12:49 +00:00
AggregateFunctionState.cpp
2017-07-25 18:32:52 +00:00
parseAggregateFunctionParameters.cpp
FactoryHelpers.cpp
)
list(REMOVE_ITEM clickhouse_aggregate_functions_headers
IAggregateFunction.h
IAggregateFunctionCombinator.h
AggregateFunctionFactory.h
AggregateFunctionCombinatorFactory.h
AggregateFunctionCount.h
2017-12-24 10:12:49 +00:00
AggregateFunctionState.h
2017-07-25 18:32:52 +00:00
parseAggregateFunctionParameters.h
FactoryHelpers.h
)
add_library(clickhouse_aggregate_functions ${clickhouse_aggregate_functions_sources})
2019-03-05 10:15:47 +00:00
target_link_libraries(clickhouse_aggregate_functions PRIVATE dbms PUBLIC ${CITYHASH_LIBRARIES})
if(ENABLE_TESTS)
add_subdirectory(tests)
endif()