* Re-add install configuration

This commit is contained in:
Phillip Stephens 2015-05-09 22:35:17 -07:00
parent 01da3f3871
commit 914cccd5d2
1 changed files with 22 additions and 0 deletions

View File

@ -39,3 +39,25 @@ include(Athena.pri)
OTHER_FILES += \
.travis.yml
unix {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
libFiles.path = $$PREFIX/lib
libFiles.files = $$PWD/lib/*
headerFiles.files = $$PWD/include/*
headerFiles.path = $$PREFIX/include/Athena
INSTALLS += libFiles headerFiles
}
win32 {
isEmpty(PREFIX) {
PREFIX = $$PWD/pkg
}
libFiles.path = $$PREFIX/lib
libFiles.files = $$PWD/lib/*
headerFiles.path = $$PREFIX/include/Athena
headerFiles.files = $$PWD/include/*
INSTALLS += libFiles headerFiles
}