Skip to content

Shared Code Support #100

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

Closed
weswitt opened this issue Dec 10, 2018 · 2 comments
Closed

Shared Code Support #100

weswitt opened this issue Dec 10, 2018 · 2 comments
Labels
status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@weswitt
Copy link

weswitt commented Dec 10, 2018

I would like to see support for shared code across an Arduino target and another arbitrary target (like some Linux code).

When using a straight makefile based build system I'd use VPATH to facilitate shared code. There is nothing like that available with this CLI tool. The CLI is a great step in the right direction but I need more flexibility. I have some C++ file & headers that I need to share between Arduino code & non-Arduino code.

@gvarisco gvarisco added the type: enhancement Proposed improvement label Dec 11, 2018
@s-celles
Copy link

s-celles commented Jan 6, 2019

I wonder if the concept of environments (#108) couldn't help?

@cmaglie
Copy link
Member

cmaglie commented Sep 12, 2019

I think that putting the shared code in a library should do the trick?

@cmaglie cmaglie added the status: waiting for information More information must be provided before work can proceed label Sep 12, 2019
@github-actions github-actions bot added the stale label Sep 14, 2019
@masci masci removed stale labels Sep 18, 2019
per1234 pushed a commit that referenced this issue Nov 16, 2020
per1234 added a commit that referenced this issue Aug 9, 2021
Don't do project discovery when explicitly defined
@per1234 per1234 added the topic: code Related to content of the project itself label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

6 participants