Skip to content

CMake: Create destination folder for doc_source.cpp generation#1709

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
enetheru:MinGWMakefiles
Feb 17, 2025
Merged

CMake: Create destination folder for doc_source.cpp generation#1709
dsnopek merged 1 commit into
godotengine:masterfrom
enetheru:MinGWMakefiles

Conversation

@enetheru

Copy link
Copy Markdown
Collaborator

When compiling using 'MinGW Makefiles' the folders aren't created as needed.

This leads to a failure to generate an include doc_source.cpp via the python script with the error:

FileNotFoundError: [Errno 2] No such file or directory: 'C:/build/godot-cpp/build-cmake/test/src/gen/doc_data.gen.cpp'

This PR will create the directory if it doesnt exist.

@enetheru
enetheru requested a review from a team as a code owner February 15, 2025 08:05
@dsnopek

dsnopek commented Feb 17, 2025

Copy link
Copy Markdown
Collaborator

Looks good! But needs a rebase after #1707 has been merged

@dsnopek dsnopek added cmake topic:buildsystem Related to the buildsystem or CI setup labels Feb 17, 2025
@dsnopek dsnopek added this to the 4.x milestone Feb 17, 2025
When compiling using 'MinGW Makefiles' the folders aren't created automatically.
@dsnopek
dsnopek merged commit 5eb6e6b into godotengine:master Feb 17, 2025
@enetheru
enetheru deleted the MinGWMakefiles branch February 17, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake topic:buildsystem Related to the buildsystem or CI setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants