Skip to content

Comments

fbt: source collection improvements#3181

Merged
skotopes merged 5 commits intodevfrom
hedger/fbt_glob_v2
Nov 1, 2023
Merged

fbt: source collection improvements#3181
skotopes merged 5 commits intodevfrom
hedger/fbt_glob_v2

Conversation

@hedger
Copy link
Member

@hedger hedger commented Oct 31, 2023

What's new

  • fbt: added source exclusion pattern support for sources field in application manifests
  • apps: fixed excessive globbing of sources for apps, resulting in extra .o files
  • Paths starting with "!" are excluded from the list of sources. They can also include wildcard characters and directory names. For example, a value of ["*.c*", "!plugins"] will include all C and C++ source files in the app folder except those in the plugins (and lib) folders.

Verification

  • Compare build time with dev, check out pvs run logs

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@github-actions
Copy link

github-actions bot commented Oct 31, 2023

Compiled f7 firmware for commit b982d28e:

@hedger hedger marked this pull request as ready for review October 31, 2023 22:00
@hedger hedger added the Build System & Scripts fbt, scripts and toolchain-related label Oct 31, 2023
@skotopes skotopes merged commit 7bd3bd7 into dev Nov 1, 2023
@skotopes skotopes deleted the hedger/fbt_glob_v2 branch November 1, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build System & Scripts fbt, scripts and toolchain-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants