summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-16 16:25:19 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-11 13:24:06 (GMT)
commitf36af9228b2ad36442f0cce9e8c8533fadef65aa (patch)
treeea255852e33dd71642d8e0e8ba913ff1764511de /Source/cmLocalGenerator.h
parentc887cefd9a12342a3ac8dc5c1dbb692b7e8d27af (diff)
downloadCMake-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.h2
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.