diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-23 08:37:07 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-04 18:44:37 (GMT) |
commit | 7b9c75860d25479a153831740d289e8aca540f4d (patch) | |
tree | 59ec9a06e5d40c755b6555e9d27a29ed85550517 /Source/cmState.h | |
parent | 1b323949fe6770fa36846a5a85d049121c7ce2c4 (diff) | |
download | CMake-7b9c75860d25479a153831740d289e8aca540f4d.zip CMake-7b9c75860d25479a153831740d289e8aca540f4d.tar.gz CMake-7b9c75860d25479a153831740d289e8aca540f4d.tar.bz2 |
cmState: Group BuildsystemDirectory state together in a struct.
It needs to be snapshotted independently of other state.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 024c9a9..4589a72 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -164,19 +164,11 @@ private: std::map<std::string, cmCommand*> Commands; cmPropertyMap GlobalProperties; cmake* CMakeInstance; - std::vector<std::string> Locations; - std::vector<std::string> OutputLocations; - std::vector<SnapshotDataType> SnapshotData; - std::vector<std::vector<std::string> > CurrentSourceDirectoryComponents; - std::vector<std::vector<std::string> > CurrentBinaryDirectoryComponents; - // The top-most directories for relative path conversion. Both the - // source and destination location of a relative path conversion - // must be underneath one of these directories (both under source or - // both under binary) in order for the relative path to be evaluated - // safely by the build tools. - std::vector<std::string> RelativePathTopSource; - std::vector<std::string> RelativePathTopBinary; + struct BuildsystemDirectoryStateType; + std::vector<BuildsystemDirectoryStateType> BuildsystemDirectory; + + std::vector<SnapshotDataType> SnapshotData; std::vector<std::string> SourceDirectoryComponents; std::vector<std::string> BinaryDirectoryComponents; |