Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Multiple sketch support#2283

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 3 commits intostm32duino:mainfromddowling:multiple-sketch-support
Mar 4, 2024

Conversation

@ddowling
Copy link
Contributor

@ddowlingddowling commentedFeb 21, 2024
edited
Loading

Summary

Allow CMakeLists.txt files to contain multiple build_sketch() targets.

This PRfixes#2282

A lot of Arduino library projects will contain multiple example applications that demonstrate the library functionality. It is also common practice on larger embedded applications to have a number of small test programs that test specific parts of the systems so these can be tested in isolation from the overall application code.
This change means all of the examples and tests can be built together from the top level CMakeList.txt file.

There is a dependency error when.ino files are not in the parent directory of the project that is fixed with this pull request.

…filebuild multiple targets.* Add an include_guard() on build_sketch.cmake to prevent errors if thisfile is included multiple time.
@fpistmfpistm added enhancementNew feature or request New feature labelsFeb 21, 2024
@fpistmfpistm added this to the2.8.0 milestoneFeb 21, 2024
@fpistmfpistm merged commit7f5d45e intostm32duino:mainMar 4, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fpistmfpistmfpistm approved these changes

@massonalmassonalmassonal approved these changes

Assignees

No one assigned

Labels

enhancementNew feature or request

Projects

Milestone

2.8.0

Development

Successfully merging this pull request may close these issues.

cmake build fails if more than one build_sketch definition is used

3 participants

@ddowling@fpistm@massonal

[8]ページ先頭

©2009-2025 Movatter.jp