refactor: let CMake manage the Android version string based on project version

master
Johan Ouwerkerk 2020-10-02 22:05:55 +02:00
parent d7c8eb4be4
commit 642f87896e
2 changed files with 3 additions and 2 deletions

View File

@ -3,10 +3,11 @@
- SPDX-License-Identifier: BSD-2-Clause
- SPDX-FileCopyrightText: 2020 Nicolas Fella <nicolas.fella@gmx.de>
- SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
- SPDX-FileCopyrightText: 2020 Johan Ouwerkerk <jm.ouwerkerk@gmail.com>
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.kde.keysmith"
android:versionName="0.2.1"
android:versionName="@keysmith_VERSION@"
android:versionCode="1"
android:installLocation="auto">
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="Keysmith" android:icon="@drawable/keysmith">

View File

@ -18,4 +18,4 @@ file (
# As a work-around, the AndroidManifest.xml is gitignore'd and generated (copied) from another file, taking care to
# preserve a file-level dependency between the 'real' source and the generated file.
#
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/AndroidManifest.xml.in" "${CMAKE_CURRENT_SOURCE_DIR}/AndroidManifest.xml" COPYONLY)
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/AndroidManifest.xml.in" "${CMAKE_CURRENT_SOURCE_DIR}/AndroidManifest.xml")