summaryrefslogtreecommitdiffstats
path: root/Tests/GeneratorExpression/check-part2.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-11 07:53:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-12 12:09:36 (GMT)
commite6055284b347775ae1396725704778af0bfb56c7 (patch)
treea35bffc4faadf289d7239796edbc2104f74e8f2d /Tests/GeneratorExpression/check-part2.cmake
parent48bb48e114b7141b63e9c905f0258531c6b78cb1 (diff)
downloadCMake-e6055284b347775ae1396725704778af0bfb56c7.zip
CMake-e6055284b347775ae1396725704778af0bfb56c7.tar.gz
CMake-e6055284b347775ae1396725704778af0bfb56c7.tar.bz2
Add generator expressions for version comparision.
Diffstat (limited to 'Tests/GeneratorExpression/check-part2.cmake')
-rw-r--r--Tests/GeneratorExpression/check-part2.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/GeneratorExpression/check-part2.cmake b/Tests/GeneratorExpression/check-part2.cmake
index a1db5f6..f9b33b3 100644
--- a/Tests/GeneratorExpression/check-part2.cmake
+++ b/Tests/GeneratorExpression/check-part2.cmake
@@ -44,3 +44,9 @@ check(test_arbitrary_content_comma_7 ",,a")
check(test_arbitrary_content_comma_8 "a,,b")
check(test_arbitrary_content_comma_9 "a,,b,,")
check(test_arbitrary_content_comma_10 ",,a,,b,,")
+check(test_version_greater_1 "0")
+check(test_version_greater_2 "1")
+check(test_version_less_1 "0")
+check(test_version_less_2 "1")
+check(test_version_equal_1 "0")
+check(test_version_equal_2 "1")