summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropertyComputer.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-12 22:18:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-15 09:14:21 (GMT)
commit637e3f3ee131cf30f7337db06314f4a1af22c245 (patch)
tree12ada449eced14d26a9edbb1f7f450a6ac31f120 /Source/cmTargetPropertyComputer.h
parent05251e6d80b03ae14d6a89765f14c2eb10979bd4 (diff)
downloadCMake-637e3f3ee131cf30f7337db06314f4a1af22c245.zip
CMake-637e3f3ee131cf30f7337db06314f4a1af22c245.tar.gz
CMake-637e3f3ee131cf30f7337db06314f4a1af22c245.tar.bz2
cmTargetPropertyComputer: Unify whitelist handling from cmTarget
Diffstat (limited to 'Source/cmTargetPropertyComputer.h')
-rw-r--r--Source/cmTargetPropertyComputer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTargetPropertyComputer.h b/Source/cmTargetPropertyComputer.h
index 1d2e4ed..941614b 100644
--- a/Source/cmTargetPropertyComputer.h
+++ b/Source/cmTargetPropertyComputer.h
@@ -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,