summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2012-08-13 17:47:32 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-13 18:19:16 (GMT)
commit77543bde41b0e52c3959016698b529835945d62d (patch)
treeff63e5fbec326c4a5d821e7496c6d2cb52f75b92 /Tests/FindPackageTest/lib
parent7bbaa4283de26864b2e55e819db0884771585467 (diff)
downloadCMake-77543bde41b0e52c3959016698b529835945d62d.zip
CMake-77543bde41b0e52c3959016698b529835945d62d.tar.gz
CMake-77543bde41b0e52c3959016698b529835945d62d.tar.bz2
Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
Diffstat (limited to 'Tests/FindPackageTest/lib')
-rw-r--r--Tests/FindPackageTest/lib/TApp/TAppConfig.cmake2
-rw-r--r--Tests/FindPackageTest/lib/arch/cmake/zot-4.0/zot-config-version.cmake14
-rw-r--r--Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake14
-rw-r--r--Tests/FindPackageTest/lib/cmake/zot-3.1/zot-config-version.cmake6
-rw-r--r--Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake14
-rw-r--r--Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake14
-rw-r--r--Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake8
-rw-r--r--Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake8
-rw-r--r--Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake14
-rw-r--r--Tests/FindPackageTest/lib/zot/zot-config-version.cmake16
-rw-r--r--Tests/FindPackageTest/lib/zot/zot-config.cmake2
11 files changed, 56 insertions, 56 deletions
diff --git a/Tests/FindPackageTest/lib/TApp/TAppConfig.cmake b/Tests/FindPackageTest/lib/TApp/TAppConfig.cmake
index cbf0603..5ba8d55 100644
--- a/Tests/FindPackageTest/lib/TApp/TAppConfig.cmake
+++ b/Tests/FindPackageTest/lib/TApp/TAppConfig.cmake
@@ -1,2 +1,2 @@
# Test config file that should not be found.
-MESSAGE("Package TApp found non-bundle first!")
+message("Package TApp found non-bundle first!")
diff --git a/Tests/FindPackageTest/lib/arch/cmake/zot-4.0/zot-config-version.cmake b/Tests/FindPackageTest/lib/arch/cmake/zot-4.0/zot-config-version.cmake
index 2f768e8..514e830 100644
--- a/Tests/FindPackageTest/lib/arch/cmake/zot-4.0/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/arch/cmake/zot-4.0/zot-config-version.cmake
@@ -1,7 +1,7 @@
-SET(PACKAGE_VERSION 4.0)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
+set(PACKAGE_VERSION 4.0)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
diff --git a/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake b/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake
index 13763ad..59fe59d 100644
--- a/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake
@@ -1,7 +1,7 @@
-SET(PACKAGE_VERSION 3.1)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+set(PACKAGE_VERSION 3.1)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
diff --git a/Tests/FindPackageTest/lib/cmake/zot-3.1/zot-config-version.cmake b/Tests/FindPackageTest/lib/cmake/zot-3.1/zot-config-version.cmake
index bee2f0e..e3e17de 100644
--- a/Tests/FindPackageTest/lib/cmake/zot-3.1/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/cmake/zot-3.1/zot-config-version.cmake
@@ -1,4 +1,4 @@
# Claim to be any version to test that CMAKE_IGNORE_PATH hides us.
-SET(PACKAGE_VERSION 3.1)
-SET(PACKAGE_VERSION_COMPATIBLE 1)
-SET(PACKAGE_VERSION_EXACT 1)
+set(PACKAGE_VERSION 3.1)
+set(PACKAGE_VERSION_COMPATIBLE 1)
+set(PACKAGE_VERSION_EXACT 1)
diff --git a/Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake b/Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake
index 606945f..7afcc9b 100644
--- a/Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/cmake/zot-4.0/zot-config-version.cmake
@@ -1,8 +1,8 @@
-SET(PACKAGE_VERSION 4.0)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
+set(PACKAGE_VERSION 4.0)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 0)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 4)
diff --git a/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake b/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake
index 5c3bdde..4e8ee82 100644
--- a/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake
+++ b/Tests/FindPackageTest/lib/suffix/test/SuffixTestConfigVersion.cmake
@@ -1,7 +1,7 @@
-SET(PACKAGE_VERSION 1.2)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
+set(PACKAGE_VERSION 1.2)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
diff --git a/Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake b/Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake
index 10ac53d..78e41a5 100644
--- a/Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/zot-2.0/zot-config-version.cmake
@@ -1,5 +1,5 @@
-SET(PACKAGE_VERSION 2.0)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
+set(PACKAGE_VERSION 2.0)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 2)
diff --git a/Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake b/Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake
index af57cfa..8e3daff 100644
--- a/Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/zot-3.0/zot-config-version.cmake
@@ -1,5 +1,5 @@
-SET(PACKAGE_VERSION 3.0)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+set(PACKAGE_VERSION 3.0)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
diff --git a/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake b/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake
index b54d94c..b09c008 100644
--- a/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake
@@ -1,8 +1,8 @@
-SET(PACKAGE_VERSION 3.1)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+set(PACKAGE_VERSION 3.1)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
diff --git a/Tests/FindPackageTest/lib/zot/zot-config-version.cmake b/Tests/FindPackageTest/lib/zot/zot-config-version.cmake
index 2a6be86..5674f70 100644
--- a/Tests/FindPackageTest/lib/zot/zot-config-version.cmake
+++ b/Tests/FindPackageTest/lib/zot/zot-config-version.cmake
@@ -1,10 +1,10 @@
# This version should never, ever be used.
-SET(PACKAGE_VERSION_UNSUITABLE 1)
-SET(PACKAGE_VERSION 3.1)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+set(PACKAGE_VERSION_UNSUITABLE 1)
+set(PACKAGE_VERSION 3.1)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
+endif("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
diff --git a/Tests/FindPackageTest/lib/zot/zot-config.cmake b/Tests/FindPackageTest/lib/zot/zot-config.cmake
index 442b8a4..9168183 100644
--- a/Tests/FindPackageTest/lib/zot/zot-config.cmake
+++ b/Tests/FindPackageTest/lib/zot/zot-config.cmake
@@ -1,2 +1,2 @@
# Test config file that is unsuitable.
-MESSAGE(FATAL_ERROR "Unsuitable version of zot was found")
+message(FATAL_ERROR "Unsuitable version of zot was found")