[CMake] Kitware Robot left some block-end command arguments

Marcin Wojdyr wojdyr at gmail.com
Wed Aug 15 11:27:44 EDT 2012


I was looking into git history of one file and just noticed this:

commit 9db3116226cb99fcf54e936c833953abcde9b729
Author: Kitware Robot <kwrobot at kitware.com>
Date:   Mon Aug 13 13:50:14 2012 -0400

    Remove CMake-language block-end command arguments


fyi: the script only removed single-line arguments.
A few multiline args are left, e.g.:

[wojdyr at dt Modules]$ grep -rP 'endif *\([^)]' .
./FindGTK.cmake:  endif(GTK_gtk_INCLUDE_PATH
./CMakeDetermineCXXCompiler.cmake:endif (CMAKE_CROSSCOMPILING
./CMakeFindBinUtils.cmake:endif("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC"
./CMakeDetermineCCompiler.cmake:endif (CMAKE_CROSSCOMPILING


Marcin


More information about the CMake mailing list