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

Per-sketch libraries (e.g. code/ folder) [imported] #314

Closed
cmaglie opened this issue Nov 15, 2012 · 3 comments
Closed

Per-sketch libraries (e.g. code/ folder) [imported] #314

cmaglie opened this issue Nov 15, 2012 · 3 comments
Labels
Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 314 moved from a Google Code project.
Added by 2010-08-02T19:40:01.000Z by dmel...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-IDE, OpSys-All

Original description

What change would like to see?

The ability to include libraries on a per-sketch basis. This should probably be in the code/ folder to mirror Processing, or a libraries/ folder (to mirror other library locations). In the long run, this should support pre-compiled libraries too (issue #199), but source libraries would be a good start.

Why?

So people can include all the dependencies for a sketch in one place. This would also be a nice place to put assembly files for a sketch (since you can't edit them in the IDE) - issue #274.

@ffissore ffissore added the New label Feb 27, 2014
@ffissore ffissore modified the milestones: Release 1.6.5, Release 1.6.6 Jun 15, 2015
@ffissore ffissore removed this from the Release 1.6.6 milestone Jun 26, 2015
@ffissore ffissore self-assigned this Jul 1, 2015
@ffissore
Copy link
Contributor

The very same result can be obtained by having multiple sketchbooks, each with its own set of libraries. That also allows to have a hardware definition specific to a sketch

@ffissore ffissore added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label Sep 25, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Sep 25, 2015
@lmihalkovic
Copy link

Rational for supporting it is that it makes it easy to test some changes to a library on a single sketch while still using the official version everywhere else, or start a new library by extracting code directly inside a large sketch project.

@SuperTango
Copy link

Sketchbook is global to the IDE. What I (and I'm assuming others) are looking for is the ability to have per-sketch libraries that aren't tied to a global for the IDE. I work on many arduino projects, most with differing library sets and it's really a pain to have to change the sketchbook when moving from project to project (or other hacks like have multiple instances of the IDE running, or different versions of the IDE, etc).

tbowmo pushed a commit to tbowmo/Arduino that referenced this issue Jul 14, 2016
tbowmo pushed a commit to tbowmo/Arduino that referenced this issue Jul 14, 2016
HW-independent ClearEepromConfig, substitutes arduino#314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

5 participants