Recursivelly include header files.
I have a project composed of many source sub-directories which hold header files. To allow the compiler to find these I've included the path to each in the projects solution preprocessor options/user include files.
I.e.
$(MyCppLib)/Peripherals/common/src
$(MyCppLib)/Peripherals/PIO/src
.....etc.
Whilst this works fine it would be better if there were some way to specify just the root folder and have the compiler recursivelly search for header files. Does anyone know of a way to do this. Thanks.
Please sign in to leave a comment.
Comments
0 comments