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

Cherry-picks for the godot-cpp 4.2 branch - 2nd batch #1410

Merged
merged 13 commits into from
Apr 8, 2024

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Mar 11, 2024

The 2nd batch of PR's marked with cherrypick:4.2

bruvzg and others added 8 commits March 11, 2024 12:46
(cherry picked from commit 59a5a8b)
Use with:

`scons platform=os2 custom_tools=/path/to/tools`

(assuming you have an `os2.py` inside `/path/to/tools/`)

(cherry picked from commit baaad7a)
Split `targets` tool logic, moving all the compiler-specific flags to a
new `common_compiler_flags.py` file, and everything else (CPPDEFINES,
optimize option logic, dev build logic, etc) to the `godotcpp` tool.

The default tools now apply the common compiler flags by importing the
file and explicitly calling `configure`.

(cherry picked from commit 16df4bf)
(cherry picked from commit e607790)
(cherry picked from commit 7ed8ef7)
bruvzg and others added 5 commits April 8, 2024 11:44
This is because target_link_options was added in v3.13
So this wouldn't build with cmake v3.12

Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with
cmake v3.9
So the test wouldn't build properly with cmake v3.6

(cherry picked from commit 5c12bd2)
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These also look safe and reasonable

@AThousandShips AThousandShips removed this from the 4.x milestone Apr 8, 2024
@AThousandShips AThousandShips added this to the 4.2 milestone Apr 8, 2024
@dsnopek
Copy link
Collaborator Author

dsnopek commented Apr 8, 2024

Thanks for the review!

@dsnopek dsnopek merged commit 7e5fa8e into godotengine:4.2 Apr 8, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants