From bec3487fa94093e696be170c4d85567c3c934545 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 10 Oct 2015 14:23:48 +0200 Subject: cmCacheManager: Remove cmMakefile dependency. Update comment. --- Source/cmCacheManager.cxx | 1 - Source/cmCacheManager.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 54209c5..a7777d9 100644 --- a/Source/cmCacheManager.cxx +++ b/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" diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 8462259..b779ba3 100644 --- a/Source/cmCacheManager.h +++ b/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 -- cgit v0.12