<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I don't know if this patch helps
 or not, I am not a CMake contributor, but while checking the code for 
how a feature is implemented, I found that a few hidden includes (to 
support CMake's dependency scanning) were not up to date.<br><br></div>I did not found a mailing list for kwsys, so I emailed this one instead.<br><br></div>I built this patch in CMake's copy of kwsys, not the standalone kwsys repo.<br><br><br></div>Hope it helps,<div>Costy</div>
<br>---<br clear="all"><br>From 556ee6b4fe653925d5d71e64194002958368d64b Mon Sep 17 00:00:00 2001<br>From: Costy Petrisor <<a href="mailto:costy.petrisor@gmail.com">costy.petrisor@gmail.com</a>><br>Date: Mon, 8 Feb 2016 11:27:53 +0000<br>Subject: [PATCH] updated a couple of hidden includes made to support CMake's<br> dependency scanning<br><br>---<br> CommandLineArguments.cxx | 1 +<br> ProcessWin32.c           | 2 +-<br> SystemInformation.cxx    | 1 -<br> SystemTools.cxx          | 1 +<br> testHashSTL.cxx          | 1 -<br> testIOS.cxx              | 6 ++++++<br> 6 files changed, 9 insertions(+), 3 deletions(-)<br><br>diff --git a/CommandLineArguments.cxx b/CommandLineArguments.cxx<br>index 3636836..f713294 100644<br>--- a/CommandLineArguments.cxx<br>+++ b/CommandLineArguments.cxx<br>@@ -20,6 +20,7 @@<br> #if 0<br> # include "<a href="http://CommandLineArguments.hxx.in">CommandLineArguments.hxx.in</a>"<br> # include "<a href="http://Configure.hxx.in">Configure.hxx.in</a>"<br>+# include "<a href="http://String.hxx.in">String.hxx.in</a>"<br> #endif<br> <br> #include <vector><br>diff --git a/ProcessWin32.c b/ProcessWin32.c<br>index 1f8749f..eabd85f 100644<br>--- a/ProcessWin32.c<br>+++ b/ProcessWin32.c<br>@@ -17,7 +17,7 @@<br>    duplicate the above list of headers.  */<br> #if 0<br> # include "<a href="http://Process.h.in">Process.h.in</a>"<br>-# include "<a href="http://Encoding_c.h.in">Encoding_c.h.in</a>"<br>+# include "<a href="http://Encoding.h.in">Encoding.h.in</a>"<br> #endif<br> <br> /*<br>diff --git a/SystemInformation.cxx b/SystemInformation.cxx<br>index cddcc8d..a33bb6f 100644<br>--- a/SystemInformation.cxx<br>+++ b/SystemInformation.cxx<br>@@ -43,7 +43,6 @@<br> #if 0<br> # include "<a href="http://SystemInformation.hxx.in">SystemInformation.hxx.in</a>"<br> # include "<a href="http://Process.h.in">Process.h.in</a>"<br>-# include "<a href="http://Configure.hxx.in">Configure.hxx.in</a>"<br> #endif<br> <br> #include <iostream><br>diff --git a/SystemTools.cxx b/SystemTools.cxx<br>index e3428f8..3d8c79a 100644<br>--- a/SystemTools.cxx<br>+++ b/SystemTools.cxx<br>@@ -39,6 +39,7 @@<br> // Work-around CMake dependency scanning limitation.  This must<br> // duplicate the above list of headers.<br> #if 0<br>+# include "<a href="http://RegularExpression.hxx.in">RegularExpression.hxx.in</a>"<br> # include "<a href="http://SystemTools.hxx.in">SystemTools.hxx.in</a>"<br> # include "<a href="http://Directory.hxx.in">Directory.hxx.in</a>"<br> # include "<a href="http://FStream.hxx.in">FStream.hxx.in</a>"<br>diff --git a/testHashSTL.cxx b/testHashSTL.cxx<br>index ab1f83e..ae66ceb 100644<br>--- a/testHashSTL.cxx<br>+++ b/testHashSTL.cxx<br>@@ -18,7 +18,6 @@<br> #if 0<br> # include "<a href="http://hash_map.hxx.in">hash_map.hxx.in</a>"<br> # include "<a href="http://hash_set.hxx.in">hash_set.hxx.in</a>"<br>-# include "<a href="http://hashtable.hxx.in">hashtable.hxx.in</a>"<br> #endif<br> <br> #include <iostream><br>diff --git a/testIOS.cxx b/testIOS.cxx<br>index 396a09d..5ff7955 100644<br>--- a/testIOS.cxx<br>+++ b/testIOS.cxx<br>@@ -18,6 +18,12 @@<br> #include <vector><br> #include <string.h> /* strlen */<br> <br>+// Work-around CMake dependency scanning limitation.  This must<br>+// duplicate the above list of headers.<br>+#if 0<br>+# include "<a href="http://Configure.hxx.in">Configure.hxx.in</a>"<br>+#endif<br>+<br> int testIOS(int, char*[])<br> {<br>   std::ostringstream ostr;<br>-- <br>2.7.0.windows.1<br> <br></div>