diff options
author | Brad King <brad.king@kitware.com> | 2011-12-09 17:43:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-09 18:00:22 (GMT) |
commit | e8b8f0eda8f5d757582310a9f5d58c90d7074e3f (patch) | |
tree | a44f5656ec166f2bb2a1f3d6b84f34f838dc0b3e /Source/cmGlobalXCodeGenerator.cxx | |
parent | e61d2ded80e98c96911eaf9545f720c29de72dc3 (diff) | |
download | CMake-e8b8f0eda8f5d757582310a9f5d58c90d7074e3f.zip CMake-e8b8f0eda8f5d757582310a9f5d58c90d7074e3f.tar.gz CMake-e8b8f0eda8f5d757582310a9f5d58c90d7074e3f.tar.bz2 |
Xcode: Create separate rerun dependencies for subprojects (#12616)
Generate the rerun dependency file for the top-level project() and each
subdirectory project() into the corresponding build directory. Do not
clobber them all with the one for the last subproject. This mistake was
left from when the Xcode generator did not produce subprojects.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 32eaef8..859503f 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -458,8 +458,7 @@ void cmGlobalXCodeGenerator::CreateReRunCMakeFile( std::vector<std::string>::iterator new_end = std::unique(lfiles.begin(), lfiles.end()); lfiles.erase(new_end, lfiles.end()); - std::string dir = mf->GetHomeOutputDirectory(); - this->CurrentReRunCMakeMakefile = dir; + this->CurrentReRunCMakeMakefile = mf->GetStartOutputDirectory(); this->CurrentReRunCMakeMakefile += "/CMakeScripts"; cmSystemTools::MakeDirectory(this->CurrentReRunCMakeMakefile.c_str()); this->CurrentReRunCMakeMakefile += "/ReRunCMake.make"; |