CodeCommitsIssuesPull requestsActionsInsightsSecurity
CLICKHOUSE-2860

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/dbms_generate_function.cmake

13lines · modecode

1function(generate_function_register FUNCTION_AREA)
2
3 foreach(FUNCTION IN LISTS ARGN)
4 configure_file (registerFunction.h.in register${FUNCTION}.h)
5 configure_file (registerFunction.cpp.in register${FUNCTION}.cpp)
6 set(REGISTER_HEADERS "${REGISTER_HEADERS} #include \"register${FUNCTION}.h\"\n")
7 set(REGISTER_FUNCTIONS "${REGISTER_FUNCTIONS} register${FUNCTION}(factory);\n")
8 endforeach()
9
10 configure_file (registerFunctions_area.cpp.in registerFunctions${FUNCTION_AREA}.cpp)
11
12endfunction()