* Add windows install configuration

This commit is contained in:
Phillip Stephens 2014-09-29 13:39:17 -07:00
parent 891217aeae
commit fea9a45a5c
1 changed files with 17 additions and 4 deletions

View File

@ -78,6 +78,7 @@ SOURCES += \
src/sha1.cpp \
src/aes.c \
src/lzo.c
win32:SOURCES += src/win32_largefilewrapper.c
INCLUDEPATH += \
include
@ -142,18 +143,30 @@ HEADERS += \
include/lzo.h \
include/md5.h \
include/sha1.h
win32:HEADERS += include/win32_largefilewrapper.h
OTHER_FILES += \
.travis.yml
isEmpty(PREFIX) {
PREFIX = /usr/local
}
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
}