From 57b83f4e171048b2266749e63e170985a5402e2a Mon Sep 17 00:00:00 2001
From: Chuck Atkins <chuck.atkins@kitware.com>
Date: Tue, 18 Apr 2017 12:04:22 -0400
Subject: [PATCH] Some lingering cleanup after the initial import

---
 thirdparty/KWSys/CMakeLists.txt           |  3 ++-
 thirdparty/KWSys/adios2sys/.clang-format  |  9 +++++++++
 thirdparty/KWSys/adios2sys/.gitattributes | 23 -----------------------
 3 files changed, 11 insertions(+), 24 deletions(-)
 create mode 100644 thirdparty/KWSys/adios2sys/.clang-format
 delete mode 100644 thirdparty/KWSys/adios2sys/.gitattributes

diff --git a/thirdparty/KWSys/CMakeLists.txt b/thirdparty/KWSys/CMakeLists.txt
index 35ed0ca7e..058c8f9ef 100644
--- a/thirdparty/KWSys/CMakeLists.txt
+++ b/thirdparty/KWSys/CMakeLists.txt
@@ -1,4 +1,5 @@
 set(KWSYS_NAMESPACE adios2sys)
-set(KWSYS_USE_DynamicLoader 1)
+set(KWSYS_USE_DynamicLoader ON)
+set(KWSYS_BUILD_SHARED OFF)
 
 add_subdirectory(adios2sys)
diff --git a/thirdparty/KWSys/adios2sys/.clang-format b/thirdparty/KWSys/adios2sys/.clang-format
new file mode 100644
index 000000000..a8bde417d
--- /dev/null
+++ b/thirdparty/KWSys/adios2sys/.clang-format
@@ -0,0 +1,9 @@
+---
+# This configuration requires clang-format 3.8 or higher.
+BasedOnStyle: Mozilla
+AlignOperands: false
+AlwaysBreakAfterReturnType: None
+AlwaysBreakAfterDefinitionReturnType: None
+ColumnLimit: 79
+Standard: Cpp03
+...
diff --git a/thirdparty/KWSys/adios2sys/.gitattributes b/thirdparty/KWSys/adios2sys/.gitattributes
deleted file mode 100644
index 95a1320ec..000000000
--- a/thirdparty/KWSys/adios2sys/.gitattributes
+++ /dev/null
@@ -1,23 +0,0 @@
-.git*            export-ignore
-.gitattributes  -export-ignore
-.hooks*          export-ignore
-
-# Custom attribute to mark sources as using our C code style.
-[attr]our-c-style  whitespace=tab-in-indent  format.clang-format
-
-/GitSetup        export-ignore
-/*.sh            export-ignore eol=lf
-/*.bash          export-ignore eol=lf
-/.clang-format   export-ignore
-
-*.c              our-c-style
-*.c.in           our-c-style
-*.cxx            our-c-style
-*.h              our-c-style
-*.h.in           our-c-style
-*.hxx            our-c-style
-*.hxx.in         our-c-style
-
-*.cmake          whitespace=tab-in-indent
-*.rst            whitespace=tab-in-indent conflict-marker-size=79
-*.txt            whitespace=tab-in-indent
-- 
GitLab