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

Add sketch path to the compile include path #3635

Closed
ricklon opened this issue Aug 7, 2015 · 1 comment
Closed

Add sketch path to the compile include path #3635

ricklon opened this issue Aug 7, 2015 · 1 comment
Assignees
Labels
Component: Compilation Related to compilation of Arduino sketches feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic
Milestone

Comments

@ricklon
Copy link
Contributor

ricklon commented Aug 7, 2015

When writing large complicated programs such as ones that use graphics, often it is need to have a header file (i.e. myconfig.h) that gets included from libraries. This file contains options such as which graphics card to use. In this case the board specific network config is loaded in the users configuration folder.

Sketch
MyHttpServer.ino

#include HttpServer.h

HttpServer.h

#include HttpServerUserConfig.h

File in my sketch folder:
HttpServerUserConfig.h

It is a worthy update. Plus a pretty small change:

    includeFolders.add(sketch.getFolder());

@ffissore ffissore added feature request A request to make an enhancement (not a bug fix) Component: Compilation Related to compilation of Arduino sketches labels Aug 7, 2015
@ffissore ffissore added the Type: Duplicate Another item already exists for this topic label Oct 2, 2015
@ffissore ffissore assigned ffissore and unassigned cmaglie Oct 2, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Oct 2, 2015
@ffissore
Copy link
Contributor

ffissore commented Oct 2, 2015

Duplicate of #2547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants