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: Support for using build_profile.json #1670

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enetheru
Copy link
Contributor

@enetheru enetheru commented Dec 11, 2024

Update to the CMake scripts to implement the use of build profiles.
This is upto date with the latest changes from @Faless

Changes

Add python_callouts.py to hold functions which call python utilities

  • generate trimmed API
  • generate file list
  • generate bindings

if GODOT_BUILD_PROFILE is specified, a trimmed API file is created in the CMAKE_CURRENT_BINARY_DIR and used as the source for binding generation

Simplify Code Generation Variables

  • use generator expressions
  • use math for bits
  • simplify if statements

@enetheru enetheru force-pushed the build_profile branch 2 times, most recently from 35ca242 to fddcb8d Compare December 11, 2024 12:22
@enetheru enetheru force-pushed the build_profile branch 5 times, most recently from fb65d7b to 92696e4 Compare December 28, 2024 23:31
@enetheru enetheru force-pushed the build_profile branch 3 times, most recently from e716971 to 5d41a48 Compare January 11, 2025 00:53
Add python_callouts.py to hold functions which call python utilities
- generate trimmed API
- generate file list
- generate bindings

if GODOT_BUILD_PROFILE is specified, a trimmed API file is created in the CMAKE_CURRENT_BINARY_DIR and used as the source for binding generation

Simplify Code Generation Variables
- use generator expressions
- use math for bits
- simplify if statements
@enetheru enetheru marked this pull request as ready for review January 11, 2025 08:17
@enetheru enetheru requested a review from a team as a code owner January 11, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant