diff options
author | Brad King <brad.king@kitware.com> | 2011-01-13 17:07:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-01-13 17:07:23 (GMT) |
commit | 809ef3086d27a79d25c53680e738ceb7bb9b18fc (patch) | |
tree | 38bdbd1dc5a7880ddf406d6a46b43211fe02992c /Source/cmGlobalXCodeGenerator.h | |
parent | 28a0403c3491d4a96f5dc827e54442a1d0a0dea7 (diff) | |
download | CMake-809ef3086d27a79d25c53680e738ceb7bb9b18fc.zip CMake-809ef3086d27a79d25c53680e738ceb7bb9b18fc.tar.gz CMake-809ef3086d27a79d25c53680e738ceb7bb9b18fc.tar.bz2 |
Xcode: Make generation depend on all input directories
Previously the Xcode generator would rerun CMake only if input file
dependencies in the top-level directory changed. Teach it to depend on
input files from all directories. Other generators already do this.
Reported-by: Johan Björk <phb@spotify.com>
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index b4de805..290532a 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -171,7 +171,8 @@ private: const char* name2, cmTarget& cmtarget, const std::vector<cmCustomCommand>&); - void CreateReRunCMakeFile(cmLocalGenerator* root); + void CreateReRunCMakeFile(cmLocalGenerator* root, + std::vector<cmLocalGenerator*> const& gens); std::string LookupFlags(const char* varNamePrefix, const char* varNameLang, |