-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Recursive compilation #116
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
Conversation
copyRecursively(avrBasePath, libraryFolder, buildPath, objectFiles, includePaths, boardPreferences); | ||
} | ||
|
||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zombie code, can be safety removed
lestofante, how does this patch impact on old libraries? may you port this patch to 1.5? |
yes, they should change #include <something.h> to #include i'll take a look to port the code. 2012/11/19 Cristian Maglie [email protected]
|
I was talking about 3rd party libraries, many authors have found their way to circumvent this limitation, and I see that frequently they put some extra folders with documentation, diagrams etc. For example: https://github.com/billroy/bitlash What happens if you try to compile this one? |
looking at their code it is strange it can compile without this patch! 2012/11/19 Cristian Maglie [email protected]
|
It may be strange, but it has been compiling successfully since 2008, and it would be a shame to break such a long run. Best regards, -br On Nov 19, 2012, at 6:23 AM, lestofante wrote:
|
I'll try when i'll back home later 2012/11/19 Bill Roy [email protected]
|
I agree with Cristian that it's important to keep the special case for the On Mon, Nov 19, 2012 at 10:24 AM, lestofante [email protected]:
|
feature added in #1152 |
Update PressureSensor.ino
With this patch, the special case of the "utility" folder in compilation is removed.
In fact now the IDE will be compliant to standard, and will copy recursively all file to compiled keeping the folder structure.
Also changed all library #include to be compliant with the standard.
Now you can import and export complex library and give a logical organization of your code's file.
TODO: The source in the sketch sub-folder will remain inaccessible from the IDE, I'll fix that soon with another patch