QuasarAppLib/QuasarLib.pri

33 lines
719 B
Plaintext
Raw Normal View History

2018-08-11 18:09:56 +03:00
#
# Copyright (C) 2018 QuasarApp.
# Distributed under the lgplv3 software license, see the accompanying
# Everyone is permitted to copy and distribute verbatim copies
# of this license document, but changing it is not allowed.
#
!isEmpty(QUASARAPP_LIB):error("QuasarLib.pri already included")
QUASARAPP_LIB = 1
2018-09-30 12:51:26 +03:00
TMP_DESTDIR=$$DESTDIR
2018-09-30 16:34:54 +03:00
2018-09-30 12:51:26 +03:00
include(deploy.pri)
2018-08-11 18:09:56 +03:00
#DEPENDS
2018-09-30 12:51:26 +03:00
LIBS += -L"$$DESTDIR" -lQuasarApp
2018-09-30 16:34:54 +03:00
2018-09-30 17:34:57 +03:00
CONFIG(release, debug|release) {
2018-09-30 16:34:54 +03:00
2018-09-30 17:34:57 +03:00
copydata.commands += $(QMAKE_DEL_FILE) $$DESTDIR/* & $(COPY_DIR) $$DESTDIR/* $$TMP_DESTDIR
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
}
2018-09-30 16:34:54 +03:00
2018-09-30 12:51:26 +03:00
DESTDIR=$$TMP_DESTDIR
2018-08-11 18:09:56 +03:00
INCLUDEPATH += "$$PWD/"
2018-09-30 16:34:54 +03:00