mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
6 lines
216 B
CMake
6 lines
216 B
CMake
|
function(generate_code TEMPLATE_FILE)
|
||
|
foreach(NAME IN LISTS ARGN)
|
||
|
configure_file (${TEMPLATE_FILE}.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/generated/${TEMPLATE_FILE}_${NAME}.cpp)
|
||
|
endforeach()
|
||
|
endfunction()
|