From dde584394c4f2ecd34552451b0bbef11524950e8 Mon Sep 17 00:00:00 2001
From: Chuck Atkins <chuck.atkins@kitware.com>
Date: Thu, 30 Mar 2017 12:25:08 -0400
Subject: [PATCH] Add config summary

---
 CMakeLists.txt | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cf002ed49..08168dd21 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,3 +97,24 @@ if(BUILD_TESTING)
   enable_testing()
   add_subdirectory(testing)
 endif()
+
+#------------------------------------------------------------------------------#
+# Configuration summary
+#------------------------------------------------------------------------------#
+message("")
+message("ADIOS2 build configuration:")
+message("  C++ Compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} ${CMAKE_CXX_COMPILER_WRAPPER}")
+message("  ${CMAKE_CXX_COMPILER}")
+message("")
+message("  Installation prefix: ${CMAKE_INSTALL_PREFIX}")
+message("  Features:")
+if(BUILD_SHARED_LIBS)
+  message("    Type:    shared")
+else()
+  message("    Type:    static")
+endif()
+message("    MPI:     ${ADIOS_USE_MPI}")
+message("    BZip2:   ${ADIOS_USE_BZip2}")
+message("    ADIOS1:  ${ADIOS_USE_ADIOS1}")
+message("    DataMan: ${ADIOS_USE_DataMan}")
+message("")
-- 
GitLab