2017-05-05 20:39:25 +00:00
|
|
|
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
|
|
|
|
AggregateFunctionState.cpp
|
|
|
|
AggregateFunctionArray.cpp
|
|
|
|
AggregateFunctionNull.cpp
|
2017-12-08 06:58:48 +00:00
|
|
|
AggregateFunctionNothing.cpp
|
2017-05-05 20:39:25 +00:00
|
|
|
AggregateFunctionForEach.cpp
|
|
|
|
AggregateFunctionIf.cpp
|
|
|
|
AggregateFunctionMerge.cpp
|
|
|
|
AggregateFunctionCount.cpp
|
2017-07-25 18:32:52 +00:00
|
|
|
parseAggregateFunctionParameters.cpp
|
2017-05-05 20:39:25 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
list(REMOVE_ITEM clickhouse_aggregate_functions_headers
|
|
|
|
AggregateFunction.h
|
|
|
|
AggregateFunctionFactory.h
|
|
|
|
AggregateFunctionState.h
|
|
|
|
AggregateFunctionArray.h
|
|
|
|
AggregateFunctionNull.h
|
2017-12-08 06:58:48 +00:00
|
|
|
AggregateFunctionNothing.h
|
2017-05-05 20:39:25 +00:00
|
|
|
AggregateFunctionForEach.h
|
|
|
|
AggregateFunctionIf.h
|
|
|
|
AggregateFunctionMerge.h
|
|
|
|
AggregateFunctionCount.h
|
2017-07-25 18:32:52 +00:00
|
|
|
parseAggregateFunctionParameters.h
|
2017-05-05 20:39:25 +00:00
|
|
|
)
|
|
|
|
|
2017-11-24 18:08:01 +00:00
|
|
|
add_library(clickhouse_aggregate_functions ${clickhouse_aggregate_functions_sources})
|
2017-06-19 21:33:12 +00:00
|
|
|
target_link_libraries(clickhouse_aggregate_functions dbms)
|
2017-10-14 01:03:35 +00:00
|
|
|
target_include_directories (clickhouse_aggregate_functions BEFORE PRIVATE ${COMMON_INCLUDE_DIR})
|