Generating wrapper source files depends on target dependencies
Wrapper source files should only depend on the hierarchy file, the header source, and the tool used to generate the source code.
This may be a CMake limitation with custom commands (see cmake/cmake!1103 (closed)).
Cc: @brad.king @dgobbi