◐ Shell
clean mode source ↗

ENH: Add support to find Headers in Apple Frameworks by hjmjohnson · Pull Request #448 · cppcheck-opensource/simplecpp

added a commit to hjmjohnson/PythonQt that referenced this pull request

Jun 27, 2025
Add specific framework path handling

Refactor include directory parsing to support multiple candidate paths
for headers and introduce macOS-specific logic for resolving
framework-relative header paths. Enhance generator flexibility and
robustness for cross-platform usage.

Push upstream fix via:
cppcheck-opensource/simplecpp#448

hjmjohnson added a commit to hjmjohnson/PythonQt that referenced this pull request

Jul 16, 2025
Add specific framework path handling

Refactor include directory parsing to support multiple candidate paths
for headers and introduce macOS-specific logic for resolving
framework-relative header paths. Enhance generator flexibility and
robustness for cross-platform usage.

Push upstream fix via:
cppcheck-opensource/simplecpp#448

hjmjohnson added a commit to hjmjohnson/PythonQt that referenced this pull request

Jul 16, 2025
Add specific framework path handling

Refactor include directory parsing to support multiple candidate paths
for headers and introduce macOS-specific logic for resolving
framework-relative header paths. Enhance generator flexibility and
robustness for cross-platform usage.

Push upstream fix via:
cppcheck-opensource/simplecpp#448

hjmjohnson added a commit to hjmjohnson/PythonQt that referenced this pull request

Jul 16, 2025
Add specific framework path handling

Refactor include directory parsing to support multiple candidate paths
for headers and introduce macOS-specific logic for resolving
framework-relative header paths. Enhance generator flexibility and
robustness for cross-platform usage.

Push upstream fix via:
cppcheck-opensource/simplecpp#448
The header locations in apple frameworks require manipulation
of the directory name in a '<pkg/myhdr.h>' include defintion.

The header file is located at <pkg.framework/Headers/myhdr.h>
in a framework.
This is an outline of a test. The test currently fails.  I could not figure out how these tests are working.

I would greatly appreciate a little help to understand how to use the test framework.

danmar

This was referenced

Aug 25, 2025