From 9fe153337726f709fa053f5072b9fd820a9447f0 Mon Sep 17 00:00:00 2001 From: Costy Petrisor <costy.petrisor@gmail.com> Date: Mon, 8 Feb 2016 11:39:51 +0000 Subject: [PATCH] Update hidden includes to support CMake header dependency scanning Update sources using KWSYS_HEADER to make the corresponding ".in" includes consistent. Change-Id: I9414edf93928386ffc38e0fd885edd0b7ddb2886 --- CommandLineArguments.cxx | 1 + ProcessWin32.c | 2 +- SystemInformation.cxx | 1 - SystemTools.cxx | 1 + testHashSTL.cxx | 1 - testIOS.cxx | 6 ++++++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CommandLineArguments.cxx b/CommandLineArguments.cxx index 3636836..f713294 100644 --- a/CommandLineArguments.cxx +++ b/CommandLineArguments.cxx @@ -20,6 +20,7 @@ #if 0 # include "CommandLineArguments.hxx.in" # include "Configure.hxx.in" +# include "String.hxx.in" #endif #include <vector> diff --git a/ProcessWin32.c b/ProcessWin32.c index 1f8749f..eabd85f 100644 --- a/ProcessWin32.c +++ b/ProcessWin32.c @@ -17,7 +17,7 @@ duplicate the above list of headers. */ #if 0 # include "Process.h.in" -# include "Encoding_c.h.in" +# include "Encoding.h.in" #endif /* diff --git a/SystemInformation.cxx b/SystemInformation.cxx index cddcc8d..a33bb6f 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -43,7 +43,6 @@ #if 0 # include "SystemInformation.hxx.in" # include "Process.h.in" -# include "Configure.hxx.in" #endif #include <iostream> diff --git a/SystemTools.cxx b/SystemTools.cxx index e3428f8..3d8c79a 100644 --- a/SystemTools.cxx +++ b/SystemTools.cxx @@ -39,6 +39,7 @@ // Work-around CMake dependency scanning limitation. This must // duplicate the above list of headers. #if 0 +# include "RegularExpression.hxx.in" # include "SystemTools.hxx.in" # include "Directory.hxx.in" # include "FStream.hxx.in" diff --git a/testHashSTL.cxx b/testHashSTL.cxx index ab1f83e..ae66ceb 100644 --- a/testHashSTL.cxx +++ b/testHashSTL.cxx @@ -18,7 +18,6 @@ #if 0 # include "hash_map.hxx.in" # include "hash_set.hxx.in" -# include "hashtable.hxx.in" #endif #include <iostream> diff --git a/testIOS.cxx b/testIOS.cxx index 396a09d..5ff7955 100644 --- a/testIOS.cxx +++ b/testIOS.cxx @@ -18,6 +18,12 @@ #include <vector> #include <string.h> /* strlen */ +// Work-around CMake dependency scanning limitation. This must +// duplicate the above list of headers. +#if 0 +# include "Configure.hxx.in" +#endif + int testIOS(int, char*[]) { std::ostringstream ostr; -- GitLab