diff options
author | Brad King <brad.king@kitware.com> | 2020-10-16 16:25:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-11 13:24:06 (GMT) |
commit | f36af9228b2ad36442f0cce9e8c8533fadef65aa (patch) | |
tree | ea255852e33dd71642d8e0e8ba913ff1764511de /Source/cmLocalGenerator.h | |
parent | c887cefd9a12342a3ac8dc5c1dbb692b7e8d27af (diff) | |
download | CMake-f36af9228b2ad36442f0cce9e8c8533fadef65aa.zip CMake-f36af9228b2ad36442f0cce9e8c8533fadef65aa.tar.gz CMake-f36af9228b2ad36442f0cce9e8c8533fadef65aa.tar.bz2 |
cmLocalGenerator: Evaluate generator expressions in custom command outputs
Custom commands with generator expressions in their OUTPUTs or
BYPRODUCTS are still attached to a single `.rule` file. We use an
internal map to look up the source file holding the custom command for a
given output. Populate this map using the outputs and byproducts from
all configurations after evaluating the generator expressions for each
configuration.
Issue: #12877
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 79ffcfb..581badb 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -365,6 +365,8 @@ public: std::vector<std::string> ExpandCustomCommandOutputPaths( cmCompiledGeneratorExpression const& cge, std::string const& config); + std::vector<std::string> ExpandCustomCommandOutputGenex( + std::string const& o, cmListFileBacktrace const& bt); /** * Add target byproducts. |