summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-22 15:58:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-22 15:58:17 (GMT)
commitddd5a7d7290390771dbe8d41ea9ef737ce4d0c62 (patch)
tree9ccc824cb9248e886ea77dc98ff254addbe8c9bf /Source/cmMakefile.h
parent032106c3379d26f28b3b7953165d8fc018f772af (diff)
downloadCMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.zip
CMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.tar.gz
CMake-ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62.tar.bz2
ENH: change all maps of string to be maps of cmStdString, to reduce symbol length in object files.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index d55e8c2..c5363d6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -397,7 +397,7 @@ public:
/**
* Get the subdirectory dependencies for the given subdirectory.
*/
- const std::set<std::string>& GetSubdirDepends(const char* subdir)
+ const std::set<cmStdString>& GetSubdirDepends(const char* subdir)
{
return m_SubdirDepends[subdir];
}
@@ -425,7 +425,7 @@ public:
/**
* Return a list of source files in this makefile.
*/
- typedef std::map<std::string,std::vector<cmSourceFile> > SourceMap;
+ typedef std::map<cmStdString,std::vector<cmSourceFile> > SourceMap;
const SourceMap &GetSources() const {return m_Sources;}
SourceMap &GetSources() {return m_Sources;}
cmSourceFile *GetSource(const char *srclist, const char *sourceName);
@@ -552,10 +552,11 @@ protected:
SourceMap m_Sources;
std::vector<std::string> m_SubDirectories; // list of sub directories
- struct StringSet : public std::set<std::string>
+ struct StringSet : public std::set<cmStdString>
{
};
- std::map<std::string, StringSet > m_SubdirDepends;
+
+ std::map<cmStdString, StringSet > m_SubdirDepends;
// The include and link-library paths. These may have order
// dependency, so they must be vectors (not set).
@@ -573,8 +574,8 @@ protected:
std::vector<std::string> m_HeaderFileExtensions;
std::string m_DefineFlags;
std::vector<cmSourceGroup> m_SourceGroups;
- typedef std::map<std::string, cmCommand*> RegisteredCommandsMap;
- typedef std::map<std::string, std::string> DefinitionMap;
+ typedef std::map<cmStdString, cmCommand*> RegisteredCommandsMap;
+ typedef std::map<cmStdString, cmStdString> DefinitionMap;
DefinitionMap m_Definitions;
RegisteredCommandsMap m_Commands;
std::vector<cmCommand*> m_UsedCommands;
@@ -596,7 +597,7 @@ private:
void AddDefaultDefinitions();
std::set<cmFunctionBlocker *> m_FunctionBlockers;
- typedef std::map<std::string, cmData*> DataMap;
+ typedef std::map<cmStdString, cmData*> DataMap;
DataMap m_DataMap;
bool m_Inheriting;
};