Hello,
I would like to reference a project header in the proj/include/ folder from a library. This way, it is possible to configure the library per-project basis. The structure is like this:
proj/lib/comm_manager/library.json
proj/lib/comm_manager/include/comm_manager.h
proj/include/comm_config.h
The comm_manager.h needs comm_config.h for being able to be modified.
As far as I see, it is not possible to access internal build flags of the library, also with extraScript. For tweaking it would be nice to have something like this:
library_env = LibraryEnvironment()
library_env.Append(CCFLAGS=["-I include"])
It should then add proj/include folder to the build flags of the library
(if the CCFLAGS is the right way to do it)
With regards,
Ivan