Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
K
kdesrc-build
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • KDE
  • kdesrc-build
  • Issues
  • #5

Closed
Open
Opened Dec 25, 2018 by Michael Pyne@mpyne
  • Report abuse
  • New issue
Report abuse New issue

Option to print all needed environment variables for manual cmake/build

As reported at https://bugs.kde.org/show_bug.cgi?id=394196

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.

I like the idea of being able to introspect what kdesrc-build is doing (e.g. using the --query option that exists already). Just need to figure out how to do it...

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Jan 12, 2019
Due date
Jan 12, 2019
1
Labels
dev-help
Assign labels
  • View project labels
Reference: kde/kdesrc-build#5