summaryrefslogtreecommitdiffstats
path: root/src/android/templates/CMakeLists.txt
blob: 586ec26c9f248a78d7dae5e5cb1ec5154909da96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# Android template files

# special case skip regeneration
# special case begin
set(template_files
    AndroidManifest.xml
    build.gradle)

set(template_directories
    res)

qt_path_join(destination ${QT_INSTALL_DIR} "src/android/templates")
qt_copy_or_install(FILES ${template_files}
                   DESTINATION "${destination}")

qt_copy_or_install(DIRECTORY ${template_directories}
                   DESTINATION "${destination}")
# special case end