summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-09-30 16:34:57 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-06 16:54:58 (GMT)
commit05f162ce9571d1ec7dee6f4c4b76126526247b14 (patch)
tree79071ee674bf7d74475c68a2ee946a8083ffc454 /Source/cmLocalUnixMakefileGenerator3.h
parentc66f03adf93fc402141ed5dc17d39bae1af3bbfd (diff)
downloadCMake-05f162ce9571d1ec7dee6f4c4b76126526247b14.zip
CMake-05f162ce9571d1ec7dee6f4c4b76126526247b14.tar.gz
CMake-05f162ce9571d1ec7dee6f4c4b76126526247b14.tar.bz2
AddCustomCommand: Handle multiple IMPLICIT_DEPENDS files (#10048)
The code handling IMPLICIT_DEPENDS was only able to track a single file, the latest file replaced earlier files in the list. The documentation now mentions that the language has to be prefixed to every file and the test now uses two implicit dependencies, where only the second is modified to trigger re-running of the custom command. Alex Inspired-by: Michael Wild <themiwi@users.sourceforge.net>
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index e374959..703369e 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -209,7 +209,8 @@ public:
// File pairs for implicit dependency scanning. The key of the map
// is the depender and the value is the explicit dependee.
- struct ImplicitDependFileMap: public std::map<cmStdString, cmStdString> {};
+ struct ImplicitDependFileMap:
+ public std::map<cmStdString, cmDepends::DependencyVector> {};
struct ImplicitDependLanguageMap:
public std::map<cmStdString, ImplicitDependFileMap> {};
struct ImplicitDependTargetMap: