mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +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()
|