2017-07-26 18:14:07 +00:00
|
|
|
function(generate_function_register FUNCTION_AREA)
|
2018-05-07 02:01:11 +00:00
|
|
|
foreach(FUNCTION IN LISTS ARGN)
|
|
|
|
configure_file (registerFunction.h.in register${FUNCTION}.h)
|
|
|
|
configure_file (registerFunction.cpp.in register${FUNCTION}.cpp)
|
|
|
|
set(REGISTER_HEADERS "${REGISTER_HEADERS}#include \"register${FUNCTION}.h\"\n")
|
|
|
|
set(REGISTER_FUNCTIONS "${REGISTER_FUNCTIONS} register${FUNCTION}(factory);\n")
|
2017-07-26 18:14:07 +00:00
|
|
|
endforeach()
|
|
|
|
|
2017-07-30 12:31:58 +00:00
|
|
|
configure_file (registerFunctions_area.cpp.in registerFunctions${FUNCTION_AREA}.cpp)
|
2017-07-26 18:14:07 +00:00
|
|
|
endfunction()
|