mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 21:23:18 +02:00
add the app icon to gvr-interface
This commit is contained in:
parent
7c38abcde8
commit
2b54300469
2 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ macro(qt_create_apk)
|
|||
|
||||
# Create "AndroidManifest.xml"
|
||||
configure_file("${ANDROID_THIS_DIRECTORY}/AndroidManifest.xml.in" "${ANDROID_APK_BUILD_DIR}/AndroidManifest.xml")
|
||||
|
||||
# copy the res folder from the target to the apk build dir
|
||||
add_custom_command(
|
||||
TARGET ${TARGET_NAME}
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/res" "${ANDROID_APK_BUILD_DIR}/res"
|
||||
)
|
||||
|
||||
# figure out where the qt dir is
|
||||
get_filename_component(QT_DIR "${QT_CMAKE_PREFIX_PATH}/../../" ABSOLUTE)
|
||||
|
|
BIN
gvr-interface/res/drawable/icon.png
Normal file
BIN
gvr-interface/res/drawable/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6 KiB |
Loading…
Reference in a new issue