cmCacheManager: Remove cmMakefile dependency.

Update comment.
This commit is contained in:
Stephen Kelly 2015-10-10 14:23:48 +02:00
parent e0f740f1b1
commit bec3487fa9
2 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,6 @@
#include "cmCacheManager.h" #include "cmCacheManager.h"
#include "cmSystemTools.h" #include "cmSystemTools.h"
#include "cmGeneratedFileStream.h" #include "cmGeneratedFileStream.h"
#include "cmMakefile.h"
#include "cmake.h" #include "cmake.h"
#include "cmVersion.h" #include "cmVersion.h"

View File

@ -16,7 +16,6 @@
#include "cmPropertyMap.h" #include "cmPropertyMap.h"
#include "cmState.h" #include "cmState.h"
class cmMakefile;
class cmMarkAsAdvancedCommand; class cmMarkAsAdvancedCommand;
class cmake; class cmake;
@ -241,7 +240,7 @@ private:
void WritePropertyEntries(std::ostream& os, CacheIterator const& i); void WritePropertyEntries(std::ostream& os, CacheIterator const& i);
CacheEntryMap Cache; CacheEntryMap Cache;
// Only cmake and cmMakefile should be able to add cache values // Only cmake and cmState should be able to add cache values
// the commands should never use the cmCacheManager directly // the commands should never use the cmCacheManager directly
friend class cmState; // allow access to add cache values friend class cmState; // allow access to add cache values
friend class cmake; // allow access to add cache values friend class cmake; // allow access to add cache values