Просмотр исходного кода

cmCacheManager: Remove cmMakefile dependency.

Update comment.
Stephen Kelly 10 лет назад
Родитель
Сommit
bec3487fa9
2 измененных файлов с 1 добавлено и 3 удалено
  1. 0 1
      Source/cmCacheManager.cxx
  2. 1 2
      Source/cmCacheManager.h

+ 0 - 1
Source/cmCacheManager.cxx

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

+ 1 - 2
Source/cmCacheManager.h

@@ -16,7 +16,6 @@
 #include "cmPropertyMap.h"
 #include "cmState.h"
 
-class cmMakefile;
 class cmMarkAsAdvancedCommand;
 class cmake;
 
@@ -241,7 +240,7 @@ private:
   void WritePropertyEntries(std::ostream& os, CacheIterator const& i);
 
   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
   friend class cmState; // allow access to add cache values
   friend class cmake; // allow access to add cache values