The latter doesn't work correctly when being used as a subproject, as it returns the *absolute* root. So if pkgconf is being built as part of muon, then it will return muon's source root. current_source_dir, on the other hand returns the directory correctly whether being built as a subproject or superproject. |
||
---|---|---|
.. | ||
lib-relocatable/lib/pkgconfig | ||
lib1 | ||
lib2 | ||
lib3 | ||
Kyuafile.in | ||
basic.sh | ||
builtins.sh | ||
conflicts.sh | ||
framework.sh | ||
meson.build | ||
parser.sh | ||
provides.sh | ||
regress.sh | ||
requires.sh | ||
sysroot.sh | ||
test_env.sh.in | ||
version.sh |