1. 24 Nov, 2015 2 commits
    • Brad King's avatar
      cmState: Enforce policy scope balancing around variable scopes · 32edac6f
      Brad King authored
      Everywhere we use cmMakefile::ScopePushPop to manage variable scopes
      also expects policy scopes to be balanced.  There is no place that we
      use cmMakefile::PolicyPushPop without also using ScopePushPop.  Relieve
      PolicyPushPop of responsibility for policy scope balance checks by
      moving it to ScopePushPop.
      32edac6f
    • Brad King's avatar
      cmState: Skip variable scope snapshots to avoid call stack duplicates · 2e28c619
      Brad King authored
      Since commit v3.4.0-rc1~179^2~1 (cmState: Add a VariableScope snapshot
      type, 2015-08-23) the snapshot stack may have a VariableScopeType entry.
      Skip over these when constructing the call stack, just as we do for
      policy scopes.  Otherwise we report the command causing the variable
      scope to be entered twice (e.g. find_package while loading a package
      version file).
      2e28c619
  2. 11 Sep, 2015 3 commits
  3. 25 Aug, 2015 1 commit
  4. 24 Aug, 2015 3 commits
  5. 23 Aug, 2015 4 commits
  6. 21 Aug, 2015 1 commit
  7. 02 Aug, 2015 3 commits
  8. 01 Aug, 2015 2 commits
  9. 25 Jul, 2015 2 commits
  10. 18 Jul, 2015 2 commits
  11. 12 Jul, 2015 1 commit
    • Stephen Kelly's avatar
      cmState: Restore renamed commands on cleanup. · d4f032b5
      Stephen Kelly authored
      Commit v3.3.0-rc1~196^2~7 (cmake: Simplify command clean up
      loop., 2015-04-12) introduced a bug that built-in commands which
      were renamed no longer had their original name restored when
      cleanup is performed between configure runs.  Check for that
      and restore the commands with their original name.
      
      Extend the complex test for this. That test is run by ctest with
      the --build-two-config command line option.
      d4f032b5
  12. 05 Jul, 2015 2 commits
  13. 04 Jul, 2015 1 commit
  14. 21 Jun, 2015 2 commits
  15. 07 Jun, 2015 3 commits
  16. 04 Jun, 2015 4 commits
  17. 02 Jun, 2015 3 commits
  18. 27 May, 2015 1 commit
    • Stephen Kelly's avatar
      cmLocalGenerator: Require a valid cmState::Snapshot in the ctor. · 3b880a07
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Refactor the local generator creation API to accept a
      cmState::Snapshot.  Adjust MakeLocalGenerator to use the 'current'
      snapshot in cases where there is no parent.  Create the snapshot
      for subdirectories in cmMakefile::AddSubdirectory.
      
      This means that snapshots are now created at the point of extending the tree,
      as appropriate, and independently of the cmLocalGenerator and cmMakefile they
      represent the state for.
      3b880a07