diff options
author | Brad King <brad.king@kitware.com> | 2007-11-12 20:42:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-11-12 20:42:37 (GMT) |
commit | ea2b389a17f3f0d537e5d539ce7dfffac63b1075 (patch) | |
tree | 27bd8ad100688f55f260d12c7154ad38d5079118 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 96e11b3f903415fceabaefbfab7d922c0629e637 (diff) | |
download | CMake-ea2b389a17f3f0d537e5d539ce7dfffac63b1075.zip CMake-ea2b389a17f3f0d537e5d539ce7dfffac63b1075.tar.gz CMake-ea2b389a17f3f0d537e5d539ce7dfffac63b1075.tar.bz2 |
BUG: Converted per-vcproj timestamp to a single directory-level CMakeFiles/generate.stamp file shared by all targets in each directory. This avoids having all targets overwrite each others timestamp check rules and instead has one single rule.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index f83c76f..5013a68 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -125,7 +125,7 @@ void cmGlobalVisualStudio8Generator::Generate() // Create a rule to re-run CMake. std::string stampName = cmake::GetCMakeFilesDirectoryPostSlash(); - stampName += CMAKE_CHECK_BUILD_SYSTEM_TARGET ".vcproj.stamp"; + stampName += "generate.stamp"; const char* dsprule = mf->GetRequiredDefinition("CMAKE_COMMAND"); cmCustomCommandLine commandLine; commandLine.push_back(dsprule); @@ -146,8 +146,8 @@ void cmGlobalVisualStudio8Generator::Generate() // Add the rule. Note that we cannot use the CMakeLists.txt // file as the main dependency because it would get - // overwritten by the AddVCProjBuildRule of the ALL_BUILD - // target. + // overwritten by the CreateVCProjBuildRule. + // (this could be avoided with per-target source files) const char* no_main_dependency = 0; const char* no_working_directory = 0; mf->AddCustomCommandToOutput( |