[Cmake-commits] CMake branch, next, updated. v3.0.2-5555-g7b500d6

Brad King brad.king at kitware.com
Thu Oct 2 09:28:54 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  7b500d6ab767c4b0d0f9a6901d081e6cad87d4a1 (commit)
       via  5b5e80e7288b42b1221b374c86e6ece39853c3bd (commit)
       via  fd6fa6572665d461a0a6f4fd5354f8ace71ad2b2 (commit)
       via  99d34f46fa394a9daabb7ca959e1540ae3a41ef2 (commit)
       via  83e0ceb285311836cc8a403a57774ce5d3caead8 (commit)
      from  3777600058bfa2aac8847fc997114c5c1eb2f23f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b500d6ab767c4b0d0f9a6901d081e6cad87d4a1
commit 7b500d6ab767c4b0d0f9a6901d081e6cad87d4a1
Merge: 3777600 5b5e80e
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Oct 2 09:28:53 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Oct 2 09:28:53 2014 -0400

    Merge topic 'drop-FindITK-and-FindVTK' into next
    
    5b5e80e7 FindVTK: Drop this ancient compatibility module
    fd6fa657 FindITK: Drop this ancient compatibility module
    99d34f46 CMake Nightly Date Stamp
    83e0ceb2 CMake Nightly Date Stamp


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5b5e80e7288b42b1221b374c86e6ece39853c3bd
commit 5b5e80e7288b42b1221b374c86e6ece39853c3bd
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Oct 2 09:25:44 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Oct 2 09:28:02 2014 -0400

    FindVTK: Drop this ancient compatibility module
    
    The FindVTK module only existed to help find_package(VTK) calls work in
    old projects written to use "USE_VTK_FILE" instead of "VTK_USE_FILE".
    Drop it to allow find_package(VTK) calls to search for VTKConfig.cmake
    directly.

diff --git a/Help/module/FindVTK.rst b/Help/module/FindVTK.rst
index f9c1efe..3bc67c5 100644
--- a/Help/module/FindVTK.rst
+++ b/Help/module/FindVTK.rst
@@ -1 +1,10 @@
-.. cmake-module:: ../../Modules/FindVTK.cmake
+FindVTK
+-------
+
+This module no longer exists.
+
+This module existed in versions of CMake prior to 3.1, but became
+only a thin wrapper around ``find_package(VTK NO_MODULE)`` to
+provide compatibility for projects using long-outdated conventions.
+Now ``find_package(VTK)`` will search for ``VTKConfig.cmake``
+directly.
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake
deleted file mode 100644
index 60f48dd..0000000
--- a/Modules/FindVTK.cmake
+++ /dev/null
@@ -1,66 +0,0 @@
-#.rst:
-# FindVTK
-# -------
-#
-# Find a VTK installation or build tree.
-#
-# The following variables are set if VTK is found.  If VTK is not found,
-# VTK_FOUND is set to false.
-#
-# ::
-#
-#   VTK_FOUND         - Set to true when VTK is found.
-#
-# The following cache entries must be set by the user to locate VTK:
-#
-# ::
-#
-#   VTK_DIR  - The directory containing VTKConfig.cmake.
-#              This is either the root of the build tree,
-#              or the lib/vtk directory.  This is the
-#              only cache entry.
-#
-# The following variables are set for backward compatibility and should
-# not be used in new code:
-#
-# ::
-#
-#   USE_VTK_FILE - The full path to the UseVTK.cmake file.
-#                  This is provided for backward
-#                  compatibility.  Use VTK_USE_FILE
-#                  instead.
-
-#=============================================================================
-# Copyright 2001-2014 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-#  License text for the above reference.)
-
-# Use the Config mode of the find_package() command to find VTKConfig.
-# If this succeeds (possibly because VTK_DIR is already set), the
-# command will have already loaded VTKConfig.cmake and set VTK_FOUND.
-if(NOT VTK_FOUND)
-  set(_VTK_REQUIRED "")
-  if(VTK_FIND_REQUIRED)
-    set(_VTK_REQUIRED REQUIRED)
-  endif()
-  set(_VTK_QUIET "")
-  if(VTK_FIND_QUIETLY)
-    set(_VTK_QUIET QUIET)
-  endif()
-  find_package(VTK ${_VTK_REQUIRED} ${_VTK_QUIET} NO_MODULE)
-  unset(_VTK_REQUIRED)
-  unset(_VTK_QUIET)
-endif()
-
-if(VTK_FOUND)
-  # Set USE_VTK_FILE for backward-compatibility.
-  set(USE_VTK_FILE ${VTK_USE_FILE})
-endif()

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fd6fa6572665d461a0a6f4fd5354f8ace71ad2b2
commit fd6fa6572665d461a0a6f4fd5354f8ace71ad2b2
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Oct 2 09:22:03 2014 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Oct 2 09:28:02 2014 -0400

    FindITK: Drop this ancient compatibility module
    
    The FindITK module only existed to help find_package(ITK) calls work in
    old projects written to use "USE_ITK_FILE" instead of "ITK_USE_FILE".
    Drop it to allow find_package(ITK) calls to search for ITKConfig.cmake
    directly.

diff --git a/Help/module/FindITK.rst b/Help/module/FindITK.rst
index dbfabbd..21a922f 100644
--- a/Help/module/FindITK.rst
+++ b/Help/module/FindITK.rst
@@ -1 +1,10 @@
-.. cmake-module:: ../../Modules/FindITK.cmake
+FindITK
+-------
+
+This module no longer exists.
+
+This module existed in versions of CMake prior to 3.1, but became
+only a thin wrapper around ``find_package(ITK NO_MODULE)`` to
+provide compatibility for projects using long-outdated conventions.
+Now ``find_package(ITK)`` will search for ``ITKConfig.cmake``
+directly.
diff --git a/Modules/FindITK.cmake b/Modules/FindITK.cmake
deleted file mode 100644
index c9d39eb..0000000
--- a/Modules/FindITK.cmake
+++ /dev/null
@@ -1,61 +0,0 @@
-#.rst:
-# FindITK
-# -------
-#
-# Find an ITK installation or build tree.
-
-# When ITK is found, the ITKConfig.cmake file is sourced to setup the
-# location and configuration of ITK.  Please read this file, or
-# ITKConfig.cmake.in from the ITK source tree for the full list of
-# definitions.  Of particular interest is ITK_USE_FILE, a CMake source file
-# that can be included to set the include directories, library directories,
-# and preprocessor macros.  In addition to the variables read from
-# ITKConfig.cmake, this find module also defines
-#  ITK_DIR  - The directory containing ITKConfig.cmake.
-#             This is either the root of the build tree,
-#             or the lib/InsightToolkit directory.
-#             This is the only cache entry.
-#
-#  ITK_FOUND - Whether ITK was found.  If this is true,
-#              ITK_DIR is okay.
-#
-#  USE_ITK_FILE - The full path to the UseITK.cmake file.
-#                 This is provided for backward
-#                 compatibility.  Use ITK_USE_FILE
-#                 instead.
-
-#=============================================================================
-# Copyright 2001-2010 Kitware, Inc.
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-#  License text for the above reference.)
-
-# Use the Config mode of the find_package() command to find ITKConfig.
-# If this succeeds (possibly because ITK_DIR is already set), the
-# command will have already loaded ITKConfig.cmake and set ITK_FOUND.
-if(NOT ITK_FOUND)
-  set(_ITK_REQUIRED "")
-  if(ITK_FIND_REQUIRED)
-    set(_ITK_REQUIRED REQUIRED)
-  endif()
-  set(_ITK_QUIET "")
-  if(ITK_FIND_QUIETLY)
-    set(_ITK_QUIET QUIET)
-  endif()
-  find_package(ITK ${_ITK_REQUIRED} ${_ITK_QUIET} NO_MODULE
-    NAMES ITK InsightToolkit
-    CONFIGS ITKConfig.cmake
-    )
-endif()
-
-if(ITK_FOUND)
-  # Set USE_ITK_FILE for backward-compatibility.
-  set(USE_ITK_FILE ${ITK_USE_FILE})
-endif()

-----------------------------------------------------------------------

Summary of changes:
 Help/module/FindITK.rst   |   11 +++++++-
 Help/module/FindVTK.rst   |   11 +++++++-
 Modules/FindITK.cmake     |   61 -----------------------------------------
 Modules/FindVTK.cmake     |   66 ---------------------------------------------
 Source/CMakeVersion.cmake |    2 +-
 5 files changed, 21 insertions(+), 130 deletions(-)
 delete mode 100644 Modules/FindITK.cmake
 delete mode 100644 Modules/FindVTK.cmake


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list