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

Zephyr module name #19

Closed
vChavezB opened this issue Nov 14, 2022 · 1 comment
Closed

Zephyr module name #19

vChavezB opened this issue Nov 14, 2022 · 1 comment

Comments

@vChavezB
Copy link

vChavezB commented Nov 14, 2022

I have been further working with zephyr modules and found out that by default the name of the module is its path.

https://github.com/zephyrproject-rtos/zephyr/blob/e0fb04458f086111b95237bb6060f95738981fcd/cmake/modules/extensions.cmake#L391

In some cases if the project path is too large some warnings might appear. I would suggest to avoid this and have an easier way to access the module from cmake to change

zephyr_library()

to

zephyr_library_named(qpcpp)

More info about this cmake function

https://github.com/zephyrproject-rtos/zephyr/blob/e0fb04458f086111b95237bb6060f95738981fcd/cmake/modules/extensions.cmake#L418

Best regards
Victor

@quantum-leaps
Copy link
Contributor

OK, the change has been made in qpcpp/zephyr/CMakeLists.txt and the file has been checked in. With that, I close this issue. Thanks a lot for the suggestion.

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