summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 20:00:21 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 20:35:21 (GMT)
commit1d829c862cf9d7f813f8e7e1a43f0125a4de7220 (patch)
treef467a66bb477a0467c3466096d4684dedde0c13a /Tests/CMakeLib
parent26ee9e42916b15150cbd02ec9eec81825b0e4611 (diff)
downloadCMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.zip
CMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.tar.gz
CMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.tar.bz2
Use quotes for non-system includes
Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in2
-rw-r--r--Tests/CMakeLib/run_compile_commands.cxx2
-rw-r--r--Tests/CMakeLib/testEncoding.cxx4
-rw-r--r--Tests/CMakeLib/testRST.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in b/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
index e2cdec8..b4c6fae4 100644
--- a/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
+++ b/Tests/CMakeLib/PseudoMemcheck/memtester.cxx.in
@@ -1,5 +1,5 @@
#include <cmSystemTools.h>
-#include <cmsys/Encoding.hxx>
+#include "cmsys/Encoding.hxx"
#include <string>
#define RETVAL @_retval@
diff --git a/Tests/CMakeLib/run_compile_commands.cxx b/Tests/CMakeLib/run_compile_commands.cxx
index 5d4ca70..46431bc 100644
--- a/Tests/CMakeLib/run_compile_commands.cxx
+++ b/Tests/CMakeLib/run_compile_commands.cxx
@@ -1,6 +1,6 @@
#include <cmConfigure.h>
-#include <cmsys/FStream.hxx>
+#include "cmsys/FStream.hxx"
#include <iostream>
#include <map>
#include <stdlib.h>
diff --git a/Tests/CMakeLib/testEncoding.cxx b/Tests/CMakeLib/testEncoding.cxx
index 403c896..5e40638 100644
--- a/Tests/CMakeLib/testEncoding.cxx
+++ b/Tests/CMakeLib/testEncoding.cxx
@@ -1,9 +1,9 @@
-#include <cmsys/FStream.hxx>
+#include "cmsys/FStream.hxx"
#include <iostream>
#include <string>
#ifdef _WIN32
-#include <cmsys/ConsoleBuf.hxx>
+#include "cmsys/ConsoleBuf.hxx"
#endif
#ifdef _WIN32
diff --git a/Tests/CMakeLib/testRST.cxx b/Tests/CMakeLib/testRST.cxx
index e1b0903..8891276 100644
--- a/Tests/CMakeLib/testRST.cxx
+++ b/Tests/CMakeLib/testRST.cxx
@@ -3,7 +3,7 @@
#include "cmRST.h"
#include "cmSystemTools.h"
-#include <cmsys/FStream.hxx>
+#include "cmsys/FStream.hxx"
#include <iostream>
#include <string>