summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-01-30 15:36:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-02-14 17:33:58 (GMT)
commitc97de1047f2fd08a74c42982012e8bb96a5e2f89 (patch)
treee72fb32152d5e30701a94d597cb9c089f0ed57f8 /Source/cmGeneratorTarget.cxx
parent1d0426f6426ef88342f3a57fb555a2b2d8891712 (diff)
downloadCMake-c97de1047f2fd08a74c42982012e8bb96a5e2f89.zip
CMake-c97de1047f2fd08a74c42982012e8bb96a5e2f89.tar.gz
CMake-c97de1047f2fd08a74c42982012e8bb96a5e2f89.tar.bz2
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 2202507..b99892b 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();