diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 21:42:35 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 22:35:20 +0200 |
commit | 5afac50f6852332698fbc9be4209f1c90a011d66 (patch) | |
tree | 3c8419b04eb2114818a57128216560815b36dfe3 /Source/cmLinkLibrariesCommand.h | |
parent | ff4fa70c201236d5355d55c386cc04cb143bde10 (diff) | |
download | cmake-5afac50f6852332698fbc9be4209f1c90a011d66.tar.gz |
cmConfigure: Ensure separate include block in headers
Make sure that `#include <cmConfigure.h>` is followed by an empty line
in header files. This is necessary to make sure that changing <> to ""
does not affect the include ordering of clang-format.
Automate with:
git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
| xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r-- | Source/cmLinkLibrariesCommand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h index 66d7ec4f4f..ee6be32d0f 100644 --- a/Source/cmLinkLibrariesCommand.h +++ b/Source/cmLinkLibrariesCommand.h @@ -4,6 +4,7 @@ #define cmLinkLibrariesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> |