How kdesrc-build runs cmake configure
cd /home/username/kde/build/extra-cmake-modules
run_logged_command(): Module extra-cmake-modules, Command: cmake -B . -S /home/username/kde/src/extra-cmake-modules -G Kate - Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_QT6=ON -DCMAKE_CXX_FLAGS:STRING=-pipe -DCMAKE_INSTALL_PREFIX=/home/username/kde/usr
Setting environment variable LD_LIBRARY_PATH to /home/username/kde/usr/lib/x86_64-linux-gnu
Setting environment variable XDG_DATA_DIRS to /home/username/kde/usr/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
Setting environment variable PKG_CONFIG_PATH to /home/username/kde/usr/lib/x86_64-linux-gnu/pkgconfig
Setting environment variable PATH to /home/username/kde/usr/bin:/home/username/.local/bin:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Setting environment variable CMAKE_PREFIX_PATH to /home/username/kde/usr
Setting environment variable QT_PLUGIN_PATH to /home/username/kde/usr/lib64/plugins:/home/username/kde/usr/lib/plugins
Setting environment variable CMAKE_MODULE_PATH to /home/username/kde/usr/lib64/cmake:/home/username/kde/usr/lib/cmake
# kdesrc-build running: 'cmake' '-B' '.' '-S' '/home/username/kde/src/extra-cmake-modules' '-G' 'Kate - Ninja' '-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON' '-DCMAKE_BUILD_TYPE=Debug' '-DBUILD_WITH_QT6=ON' '-DCMAKE_CXX_FLAGS:STRING=-pipe' '-DCMAKE_INSTALL_PREFIX=/home/username/kde/usr'
# from directory: /home/username/kde/build/extra-cmake-modules