On 2023-01-23 14:25, Jörg Bornemann via Development wrote: (...)
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).
Yes, but probably you won't be developing with CMAKE_UNITY_BUILD, since it ruins incremental build times anyway.
It's great for compiling 3rdparty and any module you're *not* developing.
Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development