diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 20:00:21 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 20:35:21 (GMT) |
commit | 1d829c862cf9d7f813f8e7e1a43f0125a4de7220 (patch) | |
tree | f467a66bb477a0467c3466096d4684dedde0c13a /Source/cmakemain.cxx | |
parent | 26ee9e42916b15150cbd02ec9eec81825b0e4611 (diff) | |
download | CMake-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 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 805a9f7..3d11241 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -1,6 +1,6 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ -#include <cmConfigure.h> +#include "cmConfigure.h" #include "cmAlgorithms.h" #include "cmDocumentationEntry.h" @@ -17,9 +17,9 @@ #include "cmDynamicLoader.h" #endif -#include <cmsys/Encoding.hxx> +#include "cmsys/Encoding.hxx" #if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE) -#include <cmsys/ConsoleBuf.hxx> +#include "cmsys/ConsoleBuf.hxx" #endif #include <iostream> #include <string.h> @@ -27,7 +27,7 @@ #include <vector> #ifdef CMAKE_USE_LIBUV -#include <cm_uv.h> +#include "cm_uv.h" #endif #ifdef CMAKE_BUILD_WITH_CMAKE |