aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMPrintVariables.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-02 13:39:12 +0100
committerStephen Kelly <steveire@gmail.com>2013-11-02 13:39:12 +0100
commit6d249fc08537655098b68bf2e82d261ca764ac94 (patch)
treef6fd7cdb60a8b536ac3ad12d6c25662c8dd19551 /modules/ECMPrintVariables.cmake
parentef93f7db4c1f4c432b053ae3b54d0a745d73c00f (diff)
downloadextra-cmake-modules-6d249fc08537655098b68bf2e82d261ca764ac94.tar.gz
extra-cmake-modules-6d249fc08537655098b68bf2e82d261ca764ac94.tar.bz2
Remove ECMPrintVariables.
I can't find any use of it, which is semi-expected. It is replaced by CMakePrintHelpers.cmake in CMake upstream.
Diffstat (limited to 'modules/ECMPrintVariables.cmake')
-rw-r--r--modules/ECMPrintVariables.cmake29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/ECMPrintVariables.cmake b/modules/ECMPrintVariables.cmake
deleted file mode 100644
index f1ae4796..00000000
--- a/modules/ECMPrintVariables.cmake
+++ /dev/null
@@ -1,29 +0,0 @@
-# - Convenience macro for printing the values of cmake variables, useful e.g. while debugging.
-#
-# ECM_PRINT_VARIABLES(var1 var2 .. varN)
-#
-# This macro will print the name of each variable followed by its value.
-# Example:
-# ecm_print_variables(CMAKE_C_COMPILER CMAKE_MAJOR_VERSION THIS_ONE_DOES_NOT_EXIST)
-# Gives:
-# -- CMAKE_C_COMPILER="/usr/bin/gcc" ; CMAKE_MAJOR_VERSION="2" ; THIS_ONE_DOES_NOT_EXIST=""
-
-# Copyright 2011 Alexander Neundorf <neundorf@kde.org>
-#
-# 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.
-
-function(ECM_PRINT_VARIABLES)
- set(msg "")
- foreach(var ${ARGN})
- if(msg)
- set(msg "${msg} ; ")
- endif()
- set(msg "${msg}${var}=\"${${var}}\"")
- endforeach()
- message(STATUS "${msg}")
-endfunction()