Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
Dependencies
How can I add dependencies to a published library repository?
1 Answer
9 years, 11 months ago.
Add them in the online compiler, then publish and they should be there.
This could not be the final solution. Almost every Library needs the mbed SDK and so every library would import another instance of the mbed SDK. The compiler would see multiple definitions.
I think there should be an option at the repository admin page to add dependencies for libraries.
posted by 15 Jan 2015Thats a different kind of dependencies than what the current dependencies are. They also import the instance indeed. You would want one which only when you import your library, checks if the requirement is already there, and if not ask if you want to import it as a seperate library. Would be a good idea, but it is not possible yet.
posted by 15 Jan 2015