Skip to content

Commit 5bc071e

Browse files
committed
build: generate yaml schema
Generate yaml schema as part of the custom target
1 parent e2ae861 commit 5bc071e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ add_custom_command(
168168
${CMAKE_CURRENT_SOURCE_DIR}/util/generate-config-info.py
169169
src/lib/Lib/ConfigOptions.json
170170
${CMAKE_CURRENT_BINARY_DIR}
171+
COMMAND
172+
${PYTHON_EXECUTABLE}
173+
${CMAKE_CURRENT_SOURCE_DIR}/util/generate-yaml-schema.py
171174
VERBATIM
172175
DEPENDS
173176
${CMAKE_CURRENT_SOURCE_DIR}/util/generate-config-info.py

0 commit comments

Comments
 (0)