diff options
author | Brad King <brad.king@kitware.com> | 2020-10-27 15:24:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-29 13:37:14 (GMT) |
commit | c404f64289bbf93bb7212df913a115e8c0c81e9d (patch) | |
tree | ea27f045a25646e919195b33f66f43b5c052f541 /Source/cmCustomCommandGenerator.h | |
parent | 2a640d41998b2b61ed23090cc6edaf6445caf6ed (diff) | |
download | CMake-c404f64289bbf93bb7212df913a115e8c0c81e9d.zip CMake-c404f64289bbf93bb7212df913a115e8c0c81e9d.tar.gz CMake-c404f64289bbf93bb7212df913a115e8c0c81e9d.tar.bz2 |
cmCustomCommandGenerator: Collect genex target references in commands
These will become target-level dependencies.
Diffstat (limited to 'Source/cmCustomCommandGenerator.h')
-rw-r--r-- | Source/cmCustomCommandGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.h b/Source/cmCustomCommandGenerator.h index c783b65..cb0d7df 100644 --- a/Source/cmCustomCommandGenerator.h +++ b/Source/cmCustomCommandGenerator.h @@ -4,10 +4,13 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include <set> #include <string> +#include <utility> #include <vector> #include "cmCustomCommandLines.h" +#include "cmListFileCache.h" class cmCustomCommand; class cmLocalGenerator; @@ -24,6 +27,7 @@ class cmCustomCommandGenerator std::vector<std::string> Byproducts; std::vector<std::string> Depends; std::string WorkingDirectory; + std::set<BT<std::pair<std::string, bool>>> Utilities; void FillEmulatorsWithArguments(); std::vector<std::string> GetCrossCompilingEmulator(unsigned int c) const; @@ -46,6 +50,7 @@ public: std::vector<std::string> const& GetOutputs() const; std::vector<std::string> const& GetByproducts() const; std::vector<std::string> const& GetDepends() const; + std::set<BT<std::pair<std::string, bool>>> const& GetUtilities() const; bool HasOnlyEmptyCommandLines() const; std::string GetFullDepfile() const; std::string GetInternalDepfile() const; |