summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 22:35:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 22:35:35 (GMT)
commitc4156b4531668adc0dc9bf37f42758d6db03ff68 (patch)
tree37762d0fda6dadd103b9b4dc2f08facd77cffc35 /Source/cmGlobalVisualStudio7Generator.cxx
parent46757656011165aa8c857523c8770cd0ea80c3da (diff)
downloadCMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.zip
CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.gz
CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.bz2
COMP: Even more global target fixes
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 6d689f6..72a654a 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -31,7 +31,6 @@ cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator()
void cmGlobalVisualStudio7Generator::EnableLanguage(std::vector<std::string>const & lang,
cmMakefile *mf)
{
- mf->AddDefinition("CMAKE_CFG_INTDIR","$(OutDir)");
mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
mf->AddDefinition("CMAKE_GENERATOR_RC", "rc");
@@ -315,7 +314,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout,
{
if (al->second.IsInAll())
{
- if (al->second.GetType() == cmTarget::UTILITY &&
+ if (al->second.GetType() == cmTarget::UTILITY ||
al->second.GetType() == cmTarget::GLOBAL_TARGET)
{
l->second.AddUtility(al->first.c_str());