Bug 394196

Summary: Option to print all needed environment variables for manual cmake/build
Product: [Developer tools] kdesrc-build Reporter: Gregor Mi <codestruct>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: ashark, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gregor Mi 2018-05-13 08:31:02 UTC
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.
Comment 1 Andrew Shark 2024-02-26 14:13:58 UTC
The variables that are set during build can be observed with `--debug` output.
This issue is mentioned in invent (kdesrc-build #5)