summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
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/cmTarget.h
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/cmTarget.h')
-rw-r--r--Source/cmTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index b96bdf2..95539fa 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -49,6 +49,7 @@ public:
enum class Visibility
{
Normal,
+ Generated,
Imported,
ImportedGlobally,
};
@@ -206,6 +207,7 @@ public:
bool IsAIX() const;
bool IsNormal() const;
+ bool IsSynthetic() const;
bool IsImported() const;
bool IsImportedGloballyVisible() const;
bool IsPerConfig() const;