Peter Eisentraut <peter@eisentraut.org> writes:
> On 30.07.25 10:28, Nazir Bilal Yavuz wrote:
>> Meson looks for ${builddir}/meson-private/coredata.dat file to
>> understand if the directory is a build directory [1]. I am just
>> wondering if you tried this and found it complicated or did you try
>> something else.
> I tried things along this line, but it's not easy to have a shell "find"
> command handle that kind of logic.
For this purpose, I think it's better for us to rely on things we
control than things Meson controls. Adding a new top-level directory
is rare enough that I don't see a problem with needing to update
prep_buildtree.
regards, tom lane