blob: 6d61723cd5d64505180c4695601efdb032501fb1 [file]
# CMake should warn the user if they have a target named codegen.
add_custom_target(codegen
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/generated.h.in
${CMAKE_CURRENT_BINARY_DIR}/generated.h
)