-
Notifications
You must be signed in to change notification settings - Fork 4
/
bdbvu.pro
49 lines (44 loc) · 1.46 KB
/
bdbvu.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (c) Ferruccio Barletta (ferruccio.barletta@gmail.com), 2010
#
# This file is part of BDBVu.
#
# BDBVu is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# BDBVu is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with BDBVu. If not, see <http://www.gnu.org/licenses/>.
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = bdbvu
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
database.cpp
HEADERS += mainwindow.h \
database.h
FORMS += mainwindow.ui
DEFINES += HAVE_CXX_STDHEADERS
QT += widgets
# environment specific settings (OS X)
osx {
INCLUDEPATH += /usr/local/BerkeleyDB.4.8/include
LIBS += /usr/local/BerkeleyDB.4.8/lib/libdb.a
LIBS += /usr/local/BerkeleyDB.4.8/lib/libdb_cxx.a
}
#environment specific settings (Windows)
win32 {
INCLUDEPATH += "C:\Program Files\Oracle\Berkeley DB 4.8.26\include"
LIBS += "C:\Program Files\Oracle\Berkeley DB 4.8.26\lib\libdb48.lib"
}
# Platform specific settings for Linux
unix {
LIBS += -ldb_cxx
}