Add install target. promoe is installed to /usr/local/bin
The install path is fixed for now (to modify change config.pri).
This commit is contained in:
parent
4b90120888
commit
88b8ab8683
2 changed files with 8 additions and 0 deletions
|
@ -2,3 +2,6 @@ DEFINES += PROMOE_VERSION="\"\\\"0.1-dev\\\"\""
|
|||
|
||||
DEPENDPATH += $PWD/src $PWD/lib
|
||||
INCLUDEPATH += $$PWD/src $$PWD/lib
|
||||
|
||||
PREFIX = /usr/local
|
||||
BINDIR = $$PREFIX/bin
|
||||
|
|
|
@ -2,3 +2,8 @@ TEMPLATE = subdirs
|
|||
CONFIG += ordered
|
||||
SUBDIRS = lib src
|
||||
|
||||
include (config.pri)
|
||||
|
||||
target.path = $$BINDIR
|
||||
target.files = promoe
|
||||
INSTALLS += target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue