Skip to content

Cherry-picks for the godot-cpp 4.1 branch - 8th batch#1411

Merged
dsnopek merged 13 commits into
godotengine:4.1from
dsnopek:4.1-cherrypicks-8
Apr 8, 2024
Merged

Cherry-picks for the godot-cpp 4.1 branch - 8th batch#1411
dsnopek merged 13 commits into
godotengine:4.1from
dsnopek:4.1-cherrypicks-8

Conversation

@dsnopek

@dsnopek dsnopek commented Mar 11, 2024

Copy link
Copy Markdown
Collaborator

The 8th batch of PR's marked with cherrypick:4.1

bruvzg and others added 8 commits March 11, 2024 12:59
(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:29
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)

@AThousandShips AThousandShips left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These look safe and good to me

@AThousandShips AThousandShips modified the milestones: 4.x, 4.1 Apr 8, 2024
@dsnopek

dsnopek commented Apr 8, 2024

Copy link
Copy Markdown
Collaborator Author

Thanks for the review!

@dsnopek
dsnopek merged commit 974e6c6 into godotengine:4.1 Apr 8, 2024
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