Fixes many bugs in PkgC by incorporating the 0.0.7 changes from llpkgc.
These include:
* Variable substitution fixes
* Better whitespace handling
* Correct handling of single and double quotes
* Dedicated parsers for fragment and dependency lists
Also adds support for pcfiledir, which was blocked on incorrect
whitespace handling in the old parser.
Fixes: #27652, #27683
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`, now with "east const" enforcement.
Use `clang-format` version 18.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
Issue: #26123
* Wraps the llpkgc parser with cmPkgConfigParser
* Adds various resolution and mangling code under cmPkgConfigResolver
* Documents new command cmake_pkg_config(EXTRACT). Documentation is written with
the assumption additional subcommands will be added soon.
* Adds various tests for the above