summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-14 18:59:31 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-18 16:56:55 (GMT)
commitd6a88d21589f5b614baea16b25261b416651533c (patch)
treebafde7edfb69cff55fc77e7cb43e31b546f2eab3 /Source/cmTarget.h
parentd7e82a11d513c7f267cd2141bf1638ce7305a9a1 (diff)
downloadCMake-d6a88d21589f5b614baea16b25261b416651533c.zip
CMake-d6a88d21589f5b614baea16b25261b416651533c.tar.gz
CMake-d6a88d21589f5b614baea16b25261b416651533c.tar.bz2
cmTarget: Replace "perConfig" constructor boolean with enum
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 8fecd41..6bd47f7 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -45,8 +45,14 @@ public:
VisibilityImportedGlobally
};
+ enum class PerConfig
+ {
+ Yes,
+ No
+ };
+
cmTarget(std::string const& name, cmStateEnums::TargetType type,
- Visibility vis, cmMakefile* mf, bool perConfig);
+ Visibility vis, cmMakefile* mf, PerConfig perConfig);
cmTarget(cmTarget const&) = delete;
cmTarget(cmTarget&&) noexcept;