Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Conversation

@MrPointer
Copy link
Member

The framework now supports header-only libraries in both add and find APIs:

  • To manually add an Arduino header-only library, use the add_arduino_header_only_library function
  • To find an Arduino header-only library, use the find_arduino_library function and pass the HEADER_ONLY option as an argument.

When linking the library to an executable, use the link_arduino_library function and pass the HEADER_ONLY option as an argument.

Also added an example using a dummy header-only library.

Note: The current code needs heavy refactoring which is addressed in a different branch that will be merged soon.

Fixes #31

@MrPointer MrPointer merged commit ed09635 into develop Sep 25, 2018
@MrPointer MrPointer deleted the feature/header-only-lib branch September 26, 2018 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants