mirror of
https://gitlab.com/libtiff/libtiff.git
synced 2026-01-18 13:41:17 +01:00
Disable clang-formatting for tif_config.h.cmake.in and tiffconf.h.cmake.in because sensitive for CMake scripts.
This commit is contained in:
@@ -6,8 +6,17 @@ repos:
|
||||
# tif_fax3sm.c is a generated file
|
||||
# tiffvers.h as well, and its formatting is sensitive for
|
||||
# FindTIFF.cmake to detect the version number
|
||||
# Furthermore, the .in files are formatting sensitive for
|
||||
# cmake functions.
|
||||
exclude: >
|
||||
(?x)^(
|
||||
libtiff/tif_fax3sm.c|
|
||||
libtiff/tiffvers.h
|
||||
libtiff/tiffvers.h|
|
||||
libtiff/tiffvers.h.in|
|
||||
libtiff/tif_config.h|
|
||||
libtiff/tif_config.h.in|
|
||||
libtiff/tif_config.h.cmake.in|
|
||||
libtiff/tiffconf.h|
|
||||
libtiff/tiffconf.h.in|
|
||||
libtiff/tiffconf.h.cmake.in
|
||||
)
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/* clang-format off */
|
||||
/* clang-format disabled because CMake scripts are very sensitive to the
|
||||
* formatting of this file.
|
||||
*/
|
||||
|
||||
/* libtiff/tif_config.h.cmake.in. Not generated, but originated from autoheader. */
|
||||
/* This file must be kept up-to-date with needed substitutions from libtiff/tif_config.h.in. */
|
||||
|
||||
@@ -156,3 +161,5 @@
|
||||
#else
|
||||
# error "Unsupported size_t size; please submit a bug report"
|
||||
#endif
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/* clang-format off */
|
||||
/* clang-format disabled because CMake scripts are very sensitive to the
|
||||
* formatting of this file.
|
||||
*/
|
||||
|
||||
/* libtiff/tif_config.h.in. Not generated, but originated from autoheader. */
|
||||
|
||||
#include "tiffconf.h"
|
||||
@@ -172,3 +177,5 @@
|
||||
#else
|
||||
# error "Unsupported size_t size; please submit a bug report"
|
||||
#endif
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
from this file in your programs.
|
||||
*/
|
||||
|
||||
/* clang-format off */
|
||||
/* clang-format disabled because CMake scripts are very sensitive to the
|
||||
* formatting of this file.
|
||||
*/
|
||||
|
||||
#ifndef _TIFFCONF_
|
||||
#define _TIFFCONF_
|
||||
|
||||
@@ -125,3 +130,5 @@
|
||||
#define IPTC_SUPPORT
|
||||
|
||||
#endif /* _TIFFCONF_ */
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
from this file in your programs.
|
||||
*/
|
||||
|
||||
/* clang-format off */
|
||||
/* clang-format disabled because CMake scripts are very sensitive to the
|
||||
* formatting of this file.
|
||||
*/
|
||||
|
||||
#ifndef _TIFFCONF_
|
||||
#define _TIFFCONF_
|
||||
|
||||
@@ -125,3 +130,5 @@
|
||||
#define IPTC_SUPPORT
|
||||
|
||||
#endif /* _TIFFCONF_ */
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
Reference in New Issue
Block a user