Bug 394196 - Option to print all needed environment variables for manual cmake/build
Summary: Option to print all needed environment variables for manual cmake/build
Status: RESOLVED NOT A BUG
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-13 08:31 UTC by Gregor Mi
Modified: 2024-02-26 14:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)