summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-10 10:22:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-09 18:38:07 (GMT)
commit38de54cf6f3daae70792fae1bf26b97bccc78de4 (patch)
treeb8499bdf53aef7b2d98a9be50949e79566224b65 /Source/cmLocalVisualStudio6Generator.cxx
parentf579fe0d7a102df0c69c957d48e3e728333dffe1 (diff)
downloadCMake-38de54cf6f3daae70792fae1bf26b97bccc78de4.zip
CMake-38de54cf6f3daae70792fae1bf26b97bccc78de4.tar.gz
CMake-38de54cf6f3daae70792fae1bf26b97bccc78de4.tar.bz2
cmGeneratorTarget: Add methods to access source file groups.
These methods and others will be able to get a config parameter later to implement the INTERFACE_SOURCES feature.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 8eeb89a..f10216a 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -401,9 +401,9 @@ void cmLocalVisualStudio6Generator
std::string compileFlags;
std::vector<std::string> depends;
std::string objectNameDir;
- if(gt->ExplicitObjectName.find(*sf) != gt->ExplicitObjectName.end())
+ if(gt->HasExplicitObjectName(*sf))
{
- objectNameDir = cmSystemTools::GetFilenamePath(gt->Objects[*sf]);
+ objectNameDir = cmSystemTools::GetFilenamePath(gt->GetObjectName(*sf));
}
// Add per-source file flags.