What does it mean when you check on "Recursive" in Header Search Paths
For those wondering, as I was, what the effect of choosing recursive
for a Header Search Path is on the compiler command line, it's to generate a -I
argument for every directory in the tree rooted at the given path. This can lead to very long compiler command lines which will make looking for anything else in there well nigh impossible. So it's worth considering how many directories are below the path you are specifying if you want to use recursive
.
I tried specifying -I../path/to/subproject/**
as a Compiler Flag for an individual file but that doesn't work (which is obviously why Xcode does the expansion itself).
(this is true for Xcode 9.4.1)