From 63b350b2ed10b2a6feed67f14e53bcfd605d6db7 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Wed, 5 Apr 2023 14:49:16 +0200 Subject: [PATCH] cmake: Indicate that export headers are autogenerated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should help anyone stumbling upon them to realize that they should not be modified directly. Change-Id: Ib5218babdb8943646e222342f1040e5bba693076 Reviewed-by: Olivier De Cannière Reviewed-by: Alexandru Croitor --- cmake/modulecppexports.h.in | 2 ++ cmake/modulecppexports_p.h.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cmake/modulecppexports.h.in b/cmake/modulecppexports.h.in index a7a349084ec..d4864bb9d43 100644 --- a/cmake/modulecppexports.h.in +++ b/cmake/modulecppexports.h.in @@ -1,6 +1,8 @@ // Copyright (C) 2022 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// This file is autogenerated. Changes will be overwritten. + #include #ifndef @header_base_name_upper@_H diff --git a/cmake/modulecppexports_p.h.in b/cmake/modulecppexports_p.h.in index 5f873e3c702..c4e029d5e1a 100644 --- a/cmake/modulecppexports_p.h.in +++ b/cmake/modulecppexports_p.h.in @@ -4,6 +4,8 @@ #ifndef @header_base_name_upper@_P_H #define @header_base_name_upper@_P_H +// This file is autogenerated. Changes will be overwritten. + // // W A R N I N G // -------------