Parametrized build-type per config #128
Merged
+120
−140
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows for easier switching between Release/Profile/Debug via
--build-type <platform_id>:<build_type>,...
If not specified, defaults to the value in
globals.json
(release
) ✨Allowed values are:
release
profile
debug
This is later translated to
CMAKE_BUILD_TYPE
andMESON_BUILD_TYPE
, set when initializing the environment for each config.Raw value is passed as
_BUILD_TYPE
and used to name paths wherever applicable.Switches from
MinSizeRel
toRelease
- the former applies optimizations that are known to be detrimental to performance, especially on mobile (in exchange for minor size gains)Bonus changes! 💚
configs/filament-debug-v1.65.2.json
in favor of--build-type filament:debug
CMAKE_EXPORT_COMPILE_COMMANDS
infilament_view
plugin