summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 18:46:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 18:46:34 (GMT)
commit7c0251014ca0fe647f7ef3743db10fa470b03034 (patch)
treedfc8a37ed8bef0ed686165a4a2c6011da165f490 /Source
parent549b77034e4a927a5f5775b0d6d2ef8026b14de0 (diff)
downloadCMake-7c0251014ca0fe647f7ef3743db10fa470b03034.zip
CMake-7c0251014ca0fe647f7ef3743db10fa470b03034.tar.gz
CMake-7c0251014ca0fe647f7ef3743db10fa470b03034.tar.bz2
COMP: More fixes for visual studio
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalGenerator.cxx2
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
2 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index c8f07ea..ade6421 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -695,7 +695,7 @@ void cmGlobalGenerator::Generate()
cmTargets::iterator tit;
for ( tit = globalTargets.begin(); tit != globalTargets.end(); ++ tit )
{
- targets[tit->first] = tit->second;
+ (*targets)[tit->first] = tit->second;
}
m_LocalGenerators[i]->Generate();
m_LocalGenerators[i]->GenerateInstallRules();
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 6364f7c..7d76391 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -163,6 +163,9 @@ void cmLocalVisualStudio7Generator::OutputVCProjFile()
&& (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) != 0)
&& (strcmp(l->first.c_str(), "ALL_BUILD") != 0)
&& (strcmp(l->first.c_str(), "RUN_TESTS") != 0)
+ && (strcmp(l->first.c_str(), "EDIT_CACHE") != 0)
+ && (strcmp(l->first.c_str(), "REBUILD_CACHE") != 0)
+ && (strcmp(l->first.c_str(), "PACKAGE") != 0)
&& (strcmp(l->first.c_str(), "INSTALL") != 0)
&& (strcmp(l->first.c_str(), CMAKE_CHECK_BUILD_SYSTEM_TARGET) != 0))
{