Skip to content

Add sketch path to the compile include path #3635

@ricklon

Description

@ricklon

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());

Metadata

Metadata

Assignees

Labels

Component: CompilationRelated to compilation of Arduino sketchesType: DuplicateAnother item already exists for this topicfeature requestA request to make an enhancement (not a bug fix)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy