- 24 Nov, 2015 2 commits
-
-
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.
-
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).
-
- 11 Sep, 2015 3 commits
-
-
Stephen Kelly authored
This is the appropriate snapshot for future use. Existing users of this method are mostly just calling GetDirectory on the result, but the progress tracking of the Makefile generator needs a consistent snapshot to be used, so the end snapshot should be consistently used.
-
Stephen Kelly authored
This is a change in behavior from CMake 3.3, but there is no semantic meaning to empty entries in buildsystem properties. This also restores behavior to that of CMake 2.8.10.
-
Stephen Kelly authored
-
- 25 Aug, 2015 1 commit
-
-
Stephen Kelly authored
-
- 24 Aug, 2015 3 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
-
- 23 Aug, 2015 4 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
Match the scopes currently used in cmMakefile for definitions.
-
Stephen Kelly authored
For completeness mostly.
-
- 21 Aug, 2015 1 commit
-
- 02 Aug, 2015 3 commits
-
-
Stephen Kelly authored
Implement lexical scope checking in terms of the state stack instead of barriers.
-
Stephen Kelly authored
At generate time, variables and policies are determined from the end state of the cmMakefile.
-
Stephen Kelly authored
-
- 01 Aug, 2015 2 commits
-
-
Stephen Kelly authored
This was added at a time when I thought the cmState would report errors, but that is not the direction it is going. The ordering of the stack of scopes is canonical and clients are required to maintain it.
-
Stephen Kelly authored
-
- 25 Jul, 2015 2 commits
-
-
Stephen Kelly authored
-
Delay use of the PositionType constructor until after SnapshotDataType is fully defined.
-
- 18 Jul, 2015 2 commits
-
-
Stephen Kelly authored
Move Directory-scoped state accessors to it. This will be expanded with directory property state soon.
-
Stephen Kelly authored
-
- 12 Jul, 2015 1 commit
-
-
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.
-
- 05 Jul, 2015 2 commits
-
-
Stephen Kelly authored
Extend snapshot creation API to store the file being executed and the entry point to get to that context.
-
Stephen Kelly authored
-
- 04 Jul, 2015 1 commit
-
-
Stephen Kelly authored
Adjust cmMakefile implementation to create the snapshots.
-
- 21 Jun, 2015 2 commits
-
-
Stephen Kelly authored
This will matter when definitions are stored in the cmState.
-
Stephen Kelly authored
-
- 07 Jun, 2015 3 commits
-
-
Stephen Kelly authored
The chaining logic doesn't belong to the container, and the CMakeInstance pointer doesn't need to be in cmPropertyMap. Size goes from 56 to 48 bytes with GNU libstdc++-5.1.
-
Stephen Kelly authored
-
Stephen Kelly authored
-
- 04 Jun, 2015 4 commits
-
-
Stephen Kelly authored
This will be used to contain most of the content of the cmState in several different trees. Refer to the BuildsystemDirectory state from the SnapshotData state. Currently these trees have the same structure, but that will change when we have more snapshot types.
-
Stephen Kelly authored
It needs to be snapshotted independently of other state.
-
Stephen Kelly authored
Store it together with the Parent position.
-
Stephen Kelly authored
-
- 02 Jun, 2015 3 commits
-
-
Stephen Kelly authored
Leave the namespace open for other Parent types.
-
Stephen Kelly authored
Leave the namespace open for other snapshot types.
-
Stephen Kelly authored
-
- 27 May, 2015 1 commit
-
-
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.
-