Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

enetheru
Copy link
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
Copy link
Collaborator

dsnopek commented Feb 17, 2025

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
11 checks passed
@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