cmTargetPropertyComputer: Unify whitelist handling from cmTarget

This commit is contained in:
Stephen Kelly
2016-10-13 00:18:24 +02:00
parent 05251e6d80
commit 637e3f3ee1
3 changed files with 29 additions and 21 deletions

View File

@@ -25,6 +25,10 @@ public:
static bool WhiteListedInterfaceProperty(const std::string& prop);
static bool PassesWhitelist(cmState::TargetType tgtType,
std::string const& prop, cmMessenger* messenger,
cmListFileBacktrace const& context);
private:
static bool HandleLocationPropertyPolicy(std::string const& tgtName,
cmMessenger* messenger,