cmake --build --preset=default from non-SOURCE_DIR

Is there any news on this topic?

I looked at the discussion but using include from a top-level CMakePresets.json file does not seem to work with build presets.

For the following project:


CMakePresets.json (include: 3rdPartyLibrary/CMakePresets.json)
    |
    | ----- 3rdPartyLibrary
                     |
                     | ------- CMakePresets.json (confgurePreset: default, buildPreset: default)

From top level I can configure a build:

cmake --preset=default

But I cannot build:

cmake --build --preset=default

I have also been looking for way to retrieve property values from the configPreset like binaryDir. I could parse the file with other tools, but it would be great if I could do it through cmake.