diff options
author | Ian Scott <ian.m.scott@stud.man.ac.uk> | 2001-07-30 11:18:38 (GMT) |
---|---|---|
committer | Ian Scott <ian.m.scott@stud.man.ac.uk> | 2001-07-30 11:18:38 (GMT) |
commit | b24861d895f96040e35c94944cc3866e78e7781c (patch) | |
tree | 1b16733e3f9ebff6730d7bf5fba3a0ae40f7cc04 /Source/cmCableWrapTclCommand.cxx | |
parent | 8bad4180c7908426b50809f5ba5948e408330cee (diff) | |
download | CMake-b24861d895f96040e35c94944cc3866e78e7781c.zip CMake-b24861d895f96040e35c94944cc3866e78e7781c.tar.gz CMake-b24861d895f96040e35c94944cc3866e78e7781c.tar.bz2 |
Removed the Uniquification of the include and link directory list in FinalPass,
and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories
a set rather than vector
Diffstat (limited to 'Source/cmCableWrapTclCommand.cxx')
-rw-r--r-- | Source/cmCableWrapTclCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCableWrapTclCommand.cxx b/Source/cmCableWrapTclCommand.cxx index feb24c8..1733a9b 100644 --- a/Source/cmCableWrapTclCommand.cxx +++ b/Source/cmCableWrapTclCommand.cxx @@ -298,9 +298,9 @@ void cmCableWrapTclCommand::GenerateCableClassFiles(const char* name, commandArgs += m_Makefile->GetStartDirectory(); commandArgs += "\""; - const std::vector<std::string>& includes = + const std::set<std::string>& includes = m_Makefile->GetIncludeDirectories(); - for(std::vector<std::string>::const_iterator i = includes.begin(); + for(std::set<std::string>::const_iterator i = includes.begin(); i != includes.end(); ++i) { commandArgs += " -I"; |