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

Support ESP-IDF Install from External Directory #170

Open
wants to merge 2 commits into
base: release/v4.1
Choose a base branch
from

Conversation

oclyke
Copy link

@oclyke oclyke commented Sep 18, 2024

Hi there.

Thanks a bunch for maintaining this library.

This PR makes it easy to include the library when it is not directly within the components directory by simply setting the ESP_DMX_ROOT variable before including the CMakeLists.txt file.

This allows users to create a simple wrapper component like this:

# components/esp_dmx_wrapper/CMakeLists.txt
set(ESP_DMX_ROOT <path to esp_dmx>)
include("${ESP_DMX_ROOT}/CMakeLists.txt")

The benefit, to me, is that I can keep all my third-party dependencies / submodules in one place. It makes it easier not to miss one ;)

What do you think?

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

Successfully merging this pull request may close these issues.

1 participant