When compiling other software to use Tcl & Tk as OSX frameworks, -I flags are needed because the public and private headers include each other and they are in separate dirs.
Used in a true framework context, a header in a framework should only need to be included like:
And the OSX preprocessor will try to look in the named framework for the header. No -I flags are needed.
But if any of the private headers are included, they fail because they include the public headers with quoted notation.
- private headers must use framework include notation internally,
- or install private headers in the framework's Headers dir, along with the public headers.