diff options
author | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-10 14:37:43 -0500 |
---|---|---|
committer | Hans Johnson <hans-johnson@uiowa.edu> | 2016-07-10 14:37:46 -0500 |
commit | b1e0d47edc106af8f1f0b9290785ced77c0ed1d0 (patch) | |
tree | 829ca2c166916828b6d64a98cb1da749d41a2702 /TESTING | |
parent | 28f0a3f1e1dffc1b3c5bc07ccff5b42dd81bb808 (diff) |
STYLE: 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:
NOTE: MUST USE GNU compliant version of sed
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' \
| xargs -0 gsed -i -f convert.sed \
&& rm convert.sed
Diffstat (limited to 'TESTING')
-rw-r--r-- | TESTING/LIN/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TESTING/LIN/CMakeLists.txt b/TESTING/LIN/CMakeLists.txt index 50d16cab..beb6ac61 100644 --- a/TESTING/LIN/CMakeLists.txt +++ b/TESTING/LIN/CMakeLists.txt @@ -196,7 +196,7 @@ macro(add_lin_executable name ) target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES}) endmacro(add_lin_executable) -IF(BUILD_SINGLE) +if(BUILD_SINGLE) add_lin_executable(xlintsts ${ALINTST} ${SCLNTST} ${SLINTST} ${SECOND_SRC} ) add_lin_executable(xlintstrfs ${SLINTSTRFP} ${SECOND_SRC}) endif() @@ -206,7 +206,7 @@ add_lin_executable(xlintstd ${ALINTST} ${DLINTST} ${DZLNTST} ${DSECOND_SRC}) add_lin_executable(xlintstrfd ${DLINTSTRFP} ${DSECOND_SRC}) endif() -IF(BUILD_SINGLE AND BUILD_DOUBLE) +if(BUILD_SINGLE AND BUILD_DOUBLE) add_lin_executable(xlintstds ${DSLINTST} ${SECOND_SRC} ${DSECOND_SRC} ) endif() @@ -220,6 +220,6 @@ add_lin_executable(xlintstz ${ALINTST} ${ZLINTST} ${DZLNTST} ${DSECOND_SRC}) add_lin_executable(xlintstrfz ${ZLINTSTRFP} ${DSECOND_SRC}) endif() -IF(BUILD_COMPLEX AND BUILD_COMPLEX16) +if(BUILD_COMPLEX AND BUILD_COMPLEX16) add_lin_executable(xlintstzc ${ZCLINTST} ${SECOND_SRC} ${DSECOND_SRC} ) endif() |