Verified Commit 9a79586e authored by Linus Jahn's avatar Linus Jahn Committed by Jonah Brüchert
Browse files

cmake: Rename ANDROID_VERSION_CODE to APPLICATION_VERSION_CODE

The version code will be required for macOS/iOS too.
parent c46ddf39
Pipeline #11874 passed with stages
in 20 minutes and 56 seconds
......@@ -17,7 +17,7 @@ if(UBUNTU_TOUCH)
endif()
set(VERSION_STRING "0.5.0-dev")
set(DEVELOPMENT_BUILD TRUE)
set(ANDROID_VERSION_CODE 6)
set(APPLICATION_VERSION_CODE 6)
# CMake options
option(I18N "Enable i18n support" FALSE)
......
......@@ -46,7 +46,7 @@
1. In *CMakeLists.txt*:
1. Change `set(VERSION_STRING "X.Y.Z-dev")` to `set(VERSION_STRING "X.Y.Z")`
1. Change `set(DEVELOPMENT_BUILD TRUE)` to `set(DEVELOPMENT_BUILD FALSE)`
1. Change `set(ANDROID_VERSION_CODE N)` to `set(ANDROID_VERSION_CODE N+1)`
1. Change `set(APPLICATION_VERSION_CODE N)` to `set(APPLICATION_VERSION_CODE N+1)`
1. `git add CMakeLists.txt`
1. Update changelog (*changelog.md*):
1. Set release date
......
<?xml version="1.0"?>
<manifest package="@APPLICATION_ID@" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="@VERSION_STRING@" android:versionCode="@ANDROID_VERSION_CODE@" android:installLocation="auto">
<manifest package="@APPLICATION_ID@" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="@VERSION_STRING@" android:versionCode="@APPLICATION_VERSION_CODE@" android:installLocation="auto">
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@APPLICATION_DISPLAY_NAME@" android:icon="@mipmap/icon">
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="Kaidan" android:screenOrientation="unspecified" android:launchMode="singleTop" android:windowSoftInputMode="adjustResize">
<intent-filter>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment