summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VSSolution/PrePost-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-18 17:20:42 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-18 17:20:42 (GMT)
commit5c1f4da83d1142e52b361e8f59dd68ea5728e843 (patch)
treebf0266562e08dcb357ad2b46cb5e34089c45812a /Tests/RunCMake/VSSolution/PrePost-check.cmake
parent9cdb37e9175b2e3c6367bc4863fda0404cb1c3a2 (diff)
downloadCMake-5c1f4da83d1142e52b361e8f59dd68ea5728e843.zip
CMake-5c1f4da83d1142e52b361e8f59dd68ea5728e843.tar.gz
CMake-5c1f4da83d1142e52b361e8f59dd68ea5728e843.tar.bz2
Tests: Rename RunCMake.{SolutionGlobalSections => VSSolution}
The test will be suitable for covering other `.sln` content too.
Diffstat (limited to 'Tests/RunCMake/VSSolution/PrePost-check.cmake')
-rw-r--r--Tests/RunCMake/VSSolution/PrePost-check.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/VSSolution/PrePost-check.cmake b/Tests/RunCMake/VSSolution/PrePost-check.cmake
new file mode 100644
index 0000000..322a689
--- /dev/null
+++ b/Tests/RunCMake/VSSolution/PrePost-check.cmake
@@ -0,0 +1,6 @@
+parseGlobalSections(pre post PrePost)
+testGlobalSection(post Postsec Key1=Value2)
+testGlobalSection(pre Presec Key1=Value1 "Key2=Value with some spaces")
+testGlobalSection(post Emptysec)
+testGlobalSection(post ExtensibilityGlobals)
+testGlobalSection(post ExtensibilityAddIns)