fix meta file of snap

This commit is contained in:
Andrei Yankovich 2022-10-13 19:32:20 +03:00
parent 93c40aef93
commit 56c61c95cf
5 changed files with 5 additions and 7 deletions

1
.gitignore vendored
View File

@ -84,6 +84,7 @@ src/CQtDeployer/Deploy/QIFW/
src/CQtDeployer/Deploy/CQtDeployerSingle.json
src/CQtDeployer/Deploy/QIFWTemplate/config/config.xml
snap/snapcraft.yaml
src/LibDeploy/src/deploy_global.h
# binaries
testcases/bin/

View File

@ -1,5 +0,0 @@
TEMPLATE = subdirs
QMAKE_EXTRA_TARGETS += \
test

0
snap/gui/icon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -79,8 +79,10 @@ configure_file_in(${CURRENT_PROJECT} "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/QIFWTem
configure_file_in(${CURRENT_PROJECT} "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/QIFWTemplate/packages/QIF/meta/package.xml")
# snap
configure_file_in(${CURRENT_PROJECT} "${CMAKE_SOURCE_DIR}/snap/snapcraft.yaml")
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Deploy/snapcraft.yaml.in" "${CMAKE_SOURCE_DIR}/snap/snapcraft.yaml" @ONLY)
add_custom_target(${name}Templates ALL
SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/Deploy/snapcraft.yaml.in"
)
# sets qifw variable
set(HomeDir "@HomeDir@")