summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-16 15:03:08 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-16 15:03:08 (GMT)
commitab0edaabccc16bb568974051ee1e50b10993874a (patch)
tree03ab2cd390dc4c338db04878314337a77a6d6b96 /Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake
parenteca87ee811a86a54a3e0bc27a29ea07ff9276ab7 (diff)
parent82a48226107e2ee0d073eaf521750c8354b67e41 (diff)
downloadCMake-ab0edaabccc16bb568974051ee1e50b10993874a.zip
CMake-ab0edaabccc16bb568974051ee1e50b10993874a.tar.gz
CMake-ab0edaabccc16bb568974051ee1e50b10993874a.tar.bz2
Merge branch 'document-dollar-in-varnames' into release-3.13
Merge-request: !2479
Diffstat (limited to 'Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake')
-rw-r--r--Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake b/Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake
new file mode 100644
index 0000000..b81fd56
--- /dev/null
+++ b/Tests/RunCMake/Syntax/CMP0053-Dollar-NEW.cmake
@@ -0,0 +1,6 @@
+cmake_policy(SET CMP0053 NEW)
+
+set($ value)
+set(dollar $)
+message("-->${${dollar}}<--")
+message("-->${$}<--")