summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-07-02 12:17:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-02 12:18:04 (GMT)
commit40ed14a88b21385daebf9526904d3b09731216fb (patch)
tree0dc89f65a2c63f25a8d76435cf53dabfc6736113 /Source/cmTarget.h
parentf22bc1e6dc5c4b86013c8f1ee1c9a348bcadaccc (diff)
parent197cb419d13d5dbb704be97bd3ee04ce514fa58f (diff)
downloadCMake-40ed14a88b21385daebf9526904d3b09731216fb.zip
CMake-40ed14a88b21385daebf9526904d3b09731216fb.tar.gz
CMake-40ed14a88b21385daebf9526904d3b09731216fb.tar.bz2
Merge topic 'codegen'
197cb419d1 add_custom_command: Add CODEGEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9581
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 385dfe7..220ac13 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -173,6 +173,11 @@ public:
void AddUtility(std::string const& name, bool cross,
cmMakefile const* mf = nullptr);
void AddUtility(BT<std::pair<std::string, bool>> util);
+
+ void AddCodegenDependency(std::string const& name);
+
+ std::set<std::string> const& GetCodegenDeps() const;
+
//! Get the utilities used by this target
std::set<BT<std::pair<std::string, bool>>> const& GetUtilities() const;