make version copy more flexible towards different build platforms
parent
6645169786
commit
09a560f788
|
|
@ -21,7 +21,7 @@ linux:!android {
|
|||
android: {
|
||||
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
|
||||
|
||||
QMAKE_POST_LINK += cp $$top_srcdir/version.txt $$top_builddir/
|
||||
QMAKE_POST_LINK += $$QMAKE_COPY $$shell_path($$top_srcdir/version.txt) $$shell_path($$top_builddir/)
|
||||
|
||||
!equals(OVERLAY_PATH, ""):!equals(BRANDING, "") {
|
||||
ANDROID_PACKAGE_SOURCE_DIR = $${OVERLAY_PATH}/packaging/android_$$BRANDING
|
||||
|
|
|
|||
Loading…
Reference in New Issue