summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-07-14 17:23:15 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-08-09 15:21:52 +0200
commit9ce5709fb1b4e5d563ea1d90a6cf1fc6e365d3d9 (patch)
tree282332f6641ed4230584e647353a021efbee03b3 /tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h
parent0ce5c0a9969bc8c763ab50b6271e203c2bcb90de (diff)
CMake: Support big resources in qt_add_resources
[ChangeLog][CMake] The target-based variant of qt6_add_resource gained the option BIG_RESOURCES. This can be used instead of qt6_add_big_resources, which is not target-based. Fixes: QTBUG-100268 Change-Id: Ib3fa783cbfbfd10f59c2f952bc88508a91f25e26 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h')
-rw-r--r--tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h
new file mode 100644
index 0000000000..614ebd1abc
--- /dev/null
+++ b/tests/auto/cmake/test_add_resources_big_resources/intermediate_lib.h
@@ -0,0 +1,9 @@
+// Copyright (C) 2022 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+namespace intermediate_lib {
+bool isLeafLibResourceAvailable();
+bool isResourceAvailable();
+} //namespace