diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-01 16:07:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-01 16:07:01 (GMT) |
commit | 8d1a5c48e702ed24d343210639268777ba9fe8a3 (patch) | |
tree | 089315741339b39ee13cd04e1ae0d3595c6e6076 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | b97ad900c09345343ed1e34067b9555f2e16b037 (diff) | |
download | CMake-8d1a5c48e702ed24d343210639268777ba9fe8a3.zip CMake-8d1a5c48e702ed24d343210639268777ba9fe8a3.tar.gz CMake-8d1a5c48e702ed24d343210639268777ba9fe8a3.tar.bz2 |
BUG: fix for 871, include external should work for 7.1 and 7.0
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 6a6bcd1..bd17fd8 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1238,7 +1238,16 @@ void cmLocalVisualStudio7Generator::ConfigureFinalPass() static_cast<cmGlobalVisualStudio7Generator *>(m_GlobalGenerator); for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); l++) { - gg->CreateGUID(l->first.c_str()); + if (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0) + { + cmCustomCommand cc = l->second.GetPostBuildCommands()[0]; + std::vector<std::string> stuff = cc.GetDepends(); + gg->CreateGUID(stuff[0].c_str()); + } + else + { + gg->CreateGUID(l->first.c_str()); + } } } |