Optimize: Cache initial cmake variables

Review Request #110580 - Created May 21, 2013 and submitted

Information
Milian Wolff
kdevelop
master
Reviewers
kdevelop
apol
Do not call `cmake --system-information` for every project - cache it instead. On my system this call takes ~1s and thus in my favorite session this slows down startup by ~5-10s (1s for every project I have open in that project).

I post the review request here because I'm not sure whether there are use cases where we do not want this behavior. Like a system upgrade where system information variables changed. But then again - we don't actually reload the project there anyways... So - is this OK? Aleix?

Also - should this maybe also use the cmake binary configured for a given project? That would be for a different patch then of course. Just interested.
Ran the stuff. Seems to work :]

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Milian Wolff
Aleix Pol Gonzalez
Commit Hook
Milian Wolff
Review request changed

Status: Closed (submitted)

Loading...