summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-28 09:25:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-07-11 09:56:14 (GMT)
commit484bb888a0c84805819749e7899333fc83794857 (patch)
tree98340e01d8bf9c30bb5cff3e5c9ae9c0630e7f5a /Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
parent3e30d9ed67f963af15b8d57d24a5fa377299e43a (diff)
downloadCMake-484bb888a0c84805819749e7899333fc83794857.zip
CMake-484bb888a0c84805819749e7899333fc83794857.tar.gz
CMake-484bb888a0c84805819749e7899333fc83794857.tar.bz2
Genex: Make CMP0021 and CMP0022 usable with TARGET_POLICY
Use preprocessor loops and add a unit test for the appropriate policies. All policies whose value is recorded at target creation time should be part of this list.
Diffstat (limited to 'Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt')
-rw-r--r--Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
new file mode 100644
index 0000000..6533b75
--- /dev/null
+++ b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
@@ -0,0 +1,13 @@
+ Error evaluating generator expression:
+
+ \$<TARGET_POLICY:NOT_A_POLICY>
+
+ \$<TARGET_POLICY:prop> may only be used with a limited number of policies.
+ Currently it may be used with the following policies:
+
+ \* CMP0003
+ \* CMP0004
+ \* CMP0008
+ \* CMP0020
+ \* CMP0021
+ \* CMP0022