On 1/23/23 10:20, Friedemann Kleint via Development wrote:
As for Shawn asking whether the concatenation is deterministic; in my experience, it is.
The concatenation is determinic and depends on the file order in the CMake files and the batch size.
One ugliness I've noticed: CMAKE_UNITY_BUILD is documented to not play well with CMAKE_EXPORT_COMPILE_COMMANDS. This might hurt users of clangd (using clangd with Qt's sources).
-- Jörg Bornemann | The Qt Company _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development