Sometimes one wants to build or rebuild a KDE module without using kdesrc-build. It would be helpful if kdesrc-build had an option like "--printenv" which prints all needed environment variables needed to run a manual build. E.g.: CMAKE_PREFIX_PATH=... ...=... This would be helpful to understand what kdesrc-build does under the hood and it could be used in a sourced bash script to setup those variables consistently.
The variables that are set during build can be observed with `--debug` output. This issue is mentioned in invent (kdesrc-build #5)