summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-25 12:59:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-25 13:01:26 (GMT)
commit40745ad35ac57b437dcd6d74e846e9cd9743808f (patch)
tree61d36e870f9a922c775fd7b4b2eb362ddc13fd07 /Source/cmake.cxx
parentc18fc30d1a0c67780fdea4ccd0a84a601ad7e8ef (diff)
parent3e867ed4003e33ace2de6027f9bedb9aa7718b0c (diff)
downloadCMake-40745ad35ac57b437dcd6d74e846e9cd9743808f.zip
CMake-40745ad35ac57b437dcd6d74e846e9cd9743808f.tar.gz
CMake-40745ad35ac57b437dcd6d74e846e9cd9743808f.tar.bz2
Merge topic 'cmake-files-directory'
3e867ed400 cmake: inlined files dir constant and removed it from cmake.h Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: vvs31415 <vstakhovsky@fastmail.com> Merge-request: !2655
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 610597a..744b8fc 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2605,8 +2605,7 @@ int cmake::Build(int jobs, const std::string& dir, const std::string& target,
// actually starting the build. If not done separately from the build
// itself, there is the risk of building an out-of-date solution file due
// to limitations of the underlying build system.
- std::string const stampList = cachePath + "/" +
- GetCMakeFilesDirectoryPostSlash() +
+ std::string const stampList = cachePath + "/" + "CMakeFiles/" +
cmGlobalVisualStudio9Generator::GetGenerateStampList();
// Note that the stampList file only exists for VS generators.
@@ -2616,8 +2615,8 @@ int cmake::Build(int jobs, const std::string& dir, const std::string& target,
// the glob verification script before starting the build
this->AddScriptingCommands();
if (this->GlobalGenerator->MatchesGeneratorName("Visual Studio 9 2008")) {
- std::string const globVerifyScript = cachePath + "/" +
- GetCMakeFilesDirectoryPostSlash() + "VerifyGlobs.cmake";
+ std::string const globVerifyScript =
+ cachePath + "/" + "CMakeFiles/" + "VerifyGlobs.cmake";
if (cmSystemTools::FileExists(globVerifyScript)) {
std::vector<std::string> args;
this->ReadListFile(args, globVerifyScript.c_str());