-
Notifications
You must be signed in to change notification settings - Fork 63
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
Allow setting NANOPB_SRC_ROOT_FOLDER #117
Conversation
Signed-off-by: Axel Heider <[email protected]>
Signed-off-by: Axel Heider <[email protected]>
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.
Out of curiosity, why are you using a different NanoPB and why can't you put it in tools/nanopb instead? Or symlink tools/nanopb to wherever your nanopb is?
I am using the same nanoPB version, but just a different directory layout. Symlinking is not really an option, as this would be the only thing that needs the project workspace and tools folder then. I did not get things to work with just adding nanoPB to the |
The directory layout seems quite hard-coded, how do you manage the other tools paths? Is it worth trying to re-use settings.cmake? It doesn't seem to be doing that much useful work. |
Providing |
Concerning your question about using |
Since |
INTERNAL
has the same effect asFORCE
, so passing any-DNANOPB_SRC_ROOT_FOLDER=...
to CMake on the command line will be overwritten and there is no way to customize the path then.