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

Problem when there are multiple .pde files #6

Open
dhylands opened this issue Jul 28, 2012 · 1 comment
Open

Problem when there are multiple .pde files #6

dhylands opened this issue Jul 28, 2012 · 1 comment

Comments

@dhylands
Copy link

Arduino seems to concatenate multiple .pde files, if more than one exist in the project.

So if have Blink/Blink.pde and Blink/Foo.pde then arduino compiles both of these, and furthermore it seems to concatenate them.

If I put a #define in Blink.pde, then I can reference that #define in Foo.pde and get no errors when building under arduino, but it fails to build when using arscons.

I did some experimentation, and it seems to sort the .pde's alphabetically, with the exception that the one that has the same name as the directory is at the beginning of the list.

@suapapa
Copy link
Owner

suapapa commented Feb 19, 2013

Now, you can do this like with ARSCONS_TARGET variable. Try this:

$ scons ARSCONS_TARGET=Foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants