Allow setting NANOPB_SRC_ROOT_FOLDER #117
Conversation
Signed-off-by: Axel Heider <axel.heider@codasip.com>
Signed-off-by: Axel Heider <axel.heider@codasip.com>
Indanz
left a comment
There was a problem hiding this comment.
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 |
INTERNALhas 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.