summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSu_Laus <sulau@freenet.de>2022-12-28 20:21:22 +0100
committerSu_Laus <sulau@freenet.de>2022-12-28 20:21:22 +0100
commitbdaf7c7f4f1d15477d402b3d6bc8f2d96a2cb1ee (patch)
treec12fb3da59dabdd35eadc3cb9cc4d40e182d3527
parente131fde62b222aa51bd4e58df507204fc039a899 (diff)
downloadlibtiff-git-bdaf7c7f4f1d15477d402b3d6bc8f2d96a2cb1ee.tar.gz
Disable clang-formatting for tif_config.h.cmake.in and tiffconf.h.cmake.in because sensitive for CMake scripts. - explanation added
-rw-r--r--libtiff/tif_config.h.cmake.in3
-rw-r--r--libtiff/tif_config.h.in3
-rw-r--r--libtiff/tiffconf.h.cmake.in3
-rw-r--r--libtiff/tiffconf.h.in3
4 files changed, 8 insertions, 4 deletions
diff --git a/libtiff/tif_config.h.cmake.in b/libtiff/tif_config.h.cmake.in
index b56f01ee..1547af46 100644
--- a/libtiff/tif_config.h.cmake.in
+++ b/libtiff/tif_config.h.cmake.in
@@ -1,6 +1,7 @@
/* clang-format off */
/* clang-format disabled because CMake scripts are very sensitive to the
- * formatting of this file.
+ * formatting of this file. configure_file variables of type "@VAR@" are
+ * modified by clang-format and won't be substituted.
*/
/* libtiff/tif_config.h.cmake.in. Not generated, but originated from autoheader. */
diff --git a/libtiff/tif_config.h.in b/libtiff/tif_config.h.in
index 9f519851..87c08bb7 100644
--- a/libtiff/tif_config.h.in
+++ b/libtiff/tif_config.h.in
@@ -1,6 +1,7 @@
/* clang-format off */
/* clang-format disabled because CMake scripts are very sensitive to the
- * formatting of this file.
+ * formatting of this file. configure_file variables of type "@VAR@" are
+ * modified by clang-format and won't be substituted.
*/
/* libtiff/tif_config.h.in. Not generated, but originated from autoheader. */
diff --git a/libtiff/tiffconf.h.cmake.in b/libtiff/tiffconf.h.cmake.in
index 9cd6b746..e3a830d4 100644
--- a/libtiff/tiffconf.h.cmake.in
+++ b/libtiff/tiffconf.h.cmake.in
@@ -6,7 +6,8 @@
/* clang-format off */
/* clang-format disabled because CMake scripts are very sensitive to the
- * formatting of this file.
+ * formatting of this file. configure_file variables of type "@VAR@" are
+ * modified by clang-format and won't be substituted.
*/
#ifndef _TIFFCONF_
diff --git a/libtiff/tiffconf.h.in b/libtiff/tiffconf.h.in
index 7c9559da..2a8b03e9 100644
--- a/libtiff/tiffconf.h.in
+++ b/libtiff/tiffconf.h.in
@@ -6,7 +6,8 @@
/* clang-format off */
/* clang-format disabled because CMake scripts are very sensitive to the
- * formatting of this file.
+ * formatting of this file. configure_file variables of type "@VAR@" are
+ * modified by clang-format and won't be substituted.
*/
#ifndef _TIFFCONF_