mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 12:34:41 +00:00
cmake: add generated files to a custom target (#5851)
This way, headers are only generated once .
This commit is contained in:
committed by
GitHub
parent
787dc260a8
commit
fa39f73552
@@ -632,6 +632,7 @@ macro(WaylandProtocolGen _SCANNER _CODE_MODE _XML _PROTL)
|
||||
ARGS "${_CODE_MODE}" "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
||||
)
|
||||
|
||||
list(APPEND SDL_GENERATED_HEADERS "${_WAYLAND_PROT_H_CODE}")
|
||||
list(APPEND SOURCE_FILES "${_WAYLAND_PROT_C_CODE}")
|
||||
endmacro()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user