summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-01-30 10:36:44 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2023-02-14 12:33:58 -0500
commitc97de1047f2fd08a74c42982012e8bb96a5e2f89 (patch)
treee72fb32152d5e30701a94d597cb9c089f0ed57f8 /Source/cmGeneratorTarget.cxx
parent1d0426f6426ef88342f3a57fb555a2b2d8891712 (diff)
downloadcmake-c97de1047f2fd08a74c42982012e8bb96a5e2f89.tar.gz
cmMakefile: add support for a "synthesized" target
It is a normal target, but will end up copying its internals from another target. Keep track of this state so that such copying can only occur when intended.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 22025071e1..b99892b246 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1242,6 +1242,11 @@ bool cmGeneratorTarget::IsNormal() const
return this->Target->IsNormal();
}
+bool cmGeneratorTarget::IsSynthetic() const
+{
+ return this->Target->IsSynthetic();
+}
+
bool cmGeneratorTarget::IsImported() const
{
return this->Target->IsImported();