refactor(eventsub): Allow for skipping generation of json implementations (#5904)

This can be done using the `SKIP_JSON_GENERATION` flag (off by default)

The FreeBSD builder uses this flag since its python stuff is slow
This commit is contained in:
pajlada
2025-02-06 09:21:21 +01:00
committed by GitHub
parent 449aefc6bc
commit 634842d2f5
6 changed files with 36 additions and 25 deletions
@@ -2,6 +2,7 @@ generate_json_impls(
OUTPUT_SOURCES eventsub_generated_sources
BASE_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/.."
FORCE ${FORCE_JSON_GENERATION}
SKIP ${SKIP_JSON_GENERATION}
HEADERS
include/twitch-eventsub-ws/messages/metadata.hpp