4
0
mirror of https://github.com/QuasarApp/Hanoi-Towers.git synced 2025-05-06 14:39:33 +00:00

versin fix

This commit is contained in:
Andrei Yankovich 2021-07-23 13:44:01 +03:00
parent 0402c8e71d
commit d9ec0d2c25
3 changed files with 8 additions and 6 deletions
CMakeLists.txt
HanoiTowers
Protockol
client/android

@ -6,7 +6,7 @@
#
cmake_minimum_required(VERSION 3.1)
project(HanoiTowers)
project(HanoiTowers VERSION 1.6.1.1)
set(BUILD_SHARED_LIBS ON)
@ -69,13 +69,15 @@ if (NOT DEFINED HANOI_CLIENT)
endif()
if (ANDROID)
set(ANDROID_VERSION_CODE 27)
set(ANDROID_VERSION_NAME "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}.${PROJECT_VERSION_TWEAK}")
endif()
SET(INSTALLER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/installer/")
SET(DATA_DIR "${INSTALLER_DIR}/packages/HanoiTowers/data")
SET(TARGET_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Distro")
SET(PRODUCT_VER_Mj 1)
SET(PRODUCT_VER_Mn 6)
SET(PRODUCT_VER_Re 0)
file(MAKE_DIRECTORY ${TARGET_DIR})
initAll()

@ -30,4 +30,4 @@ target_link_libraries(${CURRENT_PROJECT} PUBLIC Heart)
target_include_directories(${CURRENT_PROJECT} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_include_directories(${CURRENT_PROJECT} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/private")
setVersionForTarget(${CURRENT_PROJECT} ${PRODUCT_VER_Mj} ${PRODUCT_VER_Mn} ${PRODUCT_VER_Re})
setVersionForTarget(${CURRENT_PROJECT} ${PROJECT_VERSION_MAJOR,} ${PROJECT_VERSION_MINOR} ${PROJECT_VERSION_PATCH})

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<manifest package="df.mobily.hanoi_towers" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.1.1" android:versionCode="27" android:installLocation="auto">
<manifest package="df.mobily.hanoi_towers" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="-- %%INSERT_VERSION_NAME%% --" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:installLocation="auto">
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<!-- %%INSERT_PERMISSIONS -->