summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-27 15:27:51 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-29 13:37:44 (GMT)
commit3e36d5e84693691a29561e4212b16b3a1c080673 (patch)
treeb407d501ac69cacef5e249e4e3052f48e84677ab /Source/cmTarget.h
parentc404f64289bbf93bb7212df913a115e8c0c81e9d (diff)
downloadCMake-3e36d5e84693691a29561e4212b16b3a1c080673.zip
CMake-3e36d5e84693691a29561e4212b16b3a1c080673.tar.gz
CMake-3e36d5e84693691a29561e4212b16b3a1c080673.tar.bz2
cmGeneratorTarget: Refactor custom command dependency evaluation
Previously we only used cmCustomCommandGenerator to evaluate generator expressions for dependencies. Use it for command lines too. It also collects target references for us, with backtraces.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index c2a4d86..27f0c59 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -164,6 +164,7 @@ public:
*/
void AddUtility(std::string const& name, bool cross,
cmMakefile* mf = nullptr);
+ void AddUtility(BT<std::pair<std::string, bool>> util);
//! Get the utilities used by this target
std::set<BT<std::pair<std::string, bool>>> const& GetUtilities() const;