diff --git a/ListAllCMakeVariableValues.cmake b/ListAllCMakeVariableValues.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..01fcad126d2430700b199230851484668d5012ae
--- /dev/null
+++ b/ListAllCMakeVariableValues.cmake
@@ -0,0 +1,15 @@
+# From http://www.kitware.com/blog/home/post/300
+#
+# Usage:
+#
+#  INCLUDE(ListAllCMakeVariabelValues)
+#  list_all_cmake_variable_values()
+
+function(list_all_cmake_variable_values)
+  message(STATUS "")
+  get_cmake_property(vs VARIABLES)
+  foreach(v ${vs})
+    message(STATUS "${v}='${${v}}'")
+  endforeach(v)
+  message(STATUS "")
+endfunction()