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

Discover required libraries #5

Open
hasselmm opened this issue Aug 16, 2024 · 0 comments
Open

Discover required libraries #5

hasselmm opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@hasselmm
Copy link
Owner

Arduino automatically discovers required libraries by scanning include directives. Implementing this feature is not only convenient to build unchanged Sketches with CMake. It's also needed to build Sketches for the STM32 core, which populates sketch/requiredLibraries.cpp with include directives for its system libraries.

The library search order is desribed here: https://arduino.github.io/arduino-cli/1.0/sketch-build-process/#location-priority

@hasselmm hasselmm added this to the builds-major-cores milestone Aug 16, 2024
@hasselmm hasselmm added bug Something isn't working enhancement New feature or request labels Aug 16, 2024
@hasselmm hasselmm modified the milestones: builds-major-cores, ready-for-announcement Aug 16, 2024
@hasselmm hasselmm self-assigned this Aug 21, 2024
hasselmm added a commit that referenced this issue Aug 23, 2024
hasselmm added a commit that referenced this issue Aug 23, 2024
hasselmm added a commit that referenced this issue Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant