summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-01-30 21:19:14 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-02-14 17:23:15 (GMT)
commit5b5869532145ff4425d7abfd09eaae6a638b6810 (patch)
tree7914bc6f0c7ef70f01a43c580c5bdb11ce859f88 /Source/cmTarget.h
parent283432a1aaa72cd0dc5c0bd0e301bccfd52edd01 (diff)
downloadCMake-5b5869532145ff4425d7abfd09eaae6a638b6810.zip
CMake-5b5869532145ff4425d7abfd09eaae6a638b6810.tar.gz
CMake-5b5869532145ff4425d7abfd09eaae6a638b6810.tar.bz2
cmTarget: store visibility as an `enum` rather than bools
C++ modules are going to introduce a third concept of "synthesized" targets, so update logic where needed to avoid assuming "not imported? must be normal". Also add an accessor method to perform queries against the visibility.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 38bd036..51bbd54 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -205,6 +205,7 @@ public:
//! Return whether or not we are targeting AIX.
bool IsAIX() const;
+ bool IsNormal() const;
bool IsImported() const;
bool IsImportedGloballyVisible() const;
bool IsPerConfig() const;