diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-06 15:46:33 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-25 10:08:17 (GMT) |
commit | 01ff75b2ff90cc5cd3db509e24d5691a2a7815e7 (patch) | |
tree | 2d0a39eb6488aa6c3eb4f3e75f4632719bd486b8 /Source/cmComputeLinkDepends.h | |
parent | c515ac41ee5a7249b9816d2cceb36cebf828a7f7 (diff) | |
download | CMake-01ff75b2ff90cc5cd3db509e24d5691a2a7815e7.zip CMake-01ff75b2ff90cc5cd3db509e24d5691a2a7815e7.tar.gz CMake-01ff75b2ff90cc5cd3db509e24d5691a2a7815e7.tar.bz2 |
cmComputeDepends::LinkEntry: introduce enum to specify item type
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r-- | Source/cmComputeLinkDepends.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h index 64603e0..3c83f5a 100644 --- a/Source/cmComputeLinkDepends.h +++ b/Source/cmComputeLinkDepends.h @@ -49,11 +49,17 @@ public: static const std::string DEFAULT; + enum EntryKind + { + Library, + Object, + SharedDep, + Flag + }; + BT<std::string> Item; cmGeneratorTarget const* Target = nullptr; - bool IsSharedDep = false; - bool IsFlag = false; - bool IsObject = false; + EntryKind Kind = Library; // The following member is for the management of items specified // through genex $<LINK_LIBRARY:...> std::string Feature = std::string(DEFAULT); |