We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79f9bc9 + 23c2407 commit 5eb6e6bCopy full SHA for 5eb6e6b
cmake/GodotCPPModule.cmake
@@ -124,6 +124,9 @@ function( generate_doc_source OUTPUT_PATH SOURCES )
124
list( TRANSFORM PYTHON_LIST REPLACE "(.*\.xml)" "'\\1'" )
125
list( JOIN PYTHON_LIST "," PYTHON_LIST )
126
127
+ get_filename_component(OUTPUT_DIR "${OUTPUT_PATH}" DIRECTORY)
128
+ file(MAKE_DIRECTORY ${OUTPUT_DIR} )
129
+
130
# Python one-liner to run our command
131
# lists in CMake are just strings delimited by ';', so this works.
132
set( PYTHON_SCRIPT "from doc_source_generator import generate_doc_source"
0 commit comments