athena/Athena.pro

66 lines
1.2 KiB
Prolog
Raw Normal View History

2014-12-29 05:08:53 +00:00
CONFIG += staticlib c++11
2015-04-07 07:14:21 +00:00
QMAKE_CXXFLAGS += -std=c++11
2014-04-20 09:14:15 +00:00
TEMPLATE= lib
DESTDIR = ./lib
2015-01-25 04:29:08 +00:00
INCLUDEPATH += $$PWD/include
2014-04-20 09:14:15 +00:00
# Uncomment this if you wish to use Qt with libAthena
#DEFINES += ATHENA_USE_QT
contains(DEFINES, ATHENA_USE_QT){
2014-04-20 11:43:27 +00:00
QT += qt core
} else {
QT =
2014-04-20 09:14:15 +00:00
}
2015-01-25 03:40:35 +00:00
CONFIG(debug, debug|release): {
2014-04-20 09:14:15 +00:00
DEFINES += DEBUG
TARGET=Athena-d
# We don't want the objects,
# in the project directory, so tell qmake
# where to put them
OBJECTS_DIR = obj/debug
}
2015-01-25 03:40:35 +00:00
CONFIG(release, release|debug): {
2014-04-20 09:14:15 +00:00
DEFINES -= DEBUG
TARGET=Athena
# We don't want the objects,
# in the project directory, so tell qmake
# where to put them
OBJECTS_DIR = obj/release
}
2015-01-25 04:29:08 +00:00
ATHENA_PRO=true
2015-01-25 03:40:35 +00:00
include(Athena.pri)
2014-04-20 09:14:15 +00:00
OTHER_FILES += \
.travis.yml
2015-05-10 05:35:17 +00:00
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
}