Native binary builds: PrebuiltLibraries: what is headers.srcDir for?

The examples have this:

    repositories {
        libs(PrebuiltLibraries) {
            boost {
                headers.srcDir "3rd-party-lib/boost_1_55_0/boost"
            // ...other stuff

My question is: what does setting headers.srcDir do for the build? I was hoping that it would have the effect of instructing the toolchain to add that library’s header directory to its include path during the compile step, but I am not finding this to be the case. That is, I look at the options passed to the compiler when my project’s built, and I do not see that path added as an include directory.

If it should be the case, let me know, and I can post some details of my build script and source setup.


Whoops - never mind. I see that is doing what’s expected. I gave my dependency the wrong path is all. Thanks!