Hi Paul, > On Feb 3, 2016, at 6:12 PM, [email protected] wrote: > > I was just working on importing an existing code tree into my HW directory > for arduino zero. > > Rather than re-arrange the files, I wanted to pass include directives to the > compiler for specific directories. > > But the only option is relative paths to the compiled file. That cause > includes like > > -I../../../sam0/utils/header_files > -I../../../utils/header_files > -I../../../../utils/header_files > -I./sam0/utils/header_files > > Depending how deep in the tree the compiler was working. it'd be nice to > have an option to have include paths that were absolute and referenced to the > egg.yml file
As you've noticed, the whole system is geared toward organizing code inside an egg in a certain way :) Exported headers in once place and source and internal headers in another. > Also, since I had a few dozen of these, it would be nice to have the > egg.cflags: token accept the \ symbol to extend to multiple lines. I concur. We should make it easier to have multiple lines of input for cflags. — M
