[packaging/krita-deps-management/transition.now/update-qt-to-6.11.0] cmake: Pass CMAKE_EXPORT_COMPILE_COMMANDS to projects themselves

Dmitry Kazakov <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b318061744709ea5051739dd7b30351cb8285fd1 by Dmitry Kazakov.
Committed on 29/07/2026 at 09:35.
Pushed by dkazakov into branch 'transition.now/update-qt-to-6.11.0'.

Pass CMAKE_EXPORT_COMPILE_COMMANDS to projects themselves

M  +2    -0    cmake/base-dep-options.cmake

https://invent.kde.org/packaging/krita-deps-management/-/commit/b318061744709ea5051739dd7b30351cb8285fd1

diff --git a/cmake/base-dep-options.cmake b/cmake/base-dep-options.cmake
index 2ef1c5f..2f78f80 100644
--- a/cmake/base-dep-options.cmake
+++ b/cmake/base-dep-options.cmake
@@ -291,3 +291,5 @@ if (ANDROID)
                      -DCMAKE_SHARED_LINKER_FLAGS=${SECURITY_SHARED_LINKER_FLAGS}
                      -DCMAKE_MODULE_LINKER_FLAGS=${SECURITY_MODULE_LINKER_FLAGS})
 endif()
+
+list (APPEND GLOBAL_PROFILE -DCMAKE_EXPORT_COMPILE_COMMANDS=${CMAKE_EXPORT_COMPILE_COMMANDS})
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.