This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgnulium.pro
67 lines (53 loc) · 2.4 KB
/
gnulium.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
############### General ###############
QT += qml quick charts quickcontrols2 widgets
CONFIG += c++11
VERSION = $$system(git log --pretty=format:'%h' -n 1)
DEFINES += APP_VER=\\\"$$VERSION\\\"
DEFINES += QT_DEPRECATED_WARNINGS
############### Compiler Flgas ###############
QMAKE_CXXFLAGS_WARN_OFF -= -Wunused-parameter
############### Resources ###############
SOURCES += $$files(modules/*.cpp, true) \
$$files(util/cpp/*.cpp, true)
HEADERS += $$files(modules/*.h, true) \
$$files(util/cpp/*.h, true)
RESOURCES += qml.qrc
############### I18n ###############
TRANSLATIONS = i18n/persian.ts
############### Platforms ###############
linux:!android{
LIBS += -L$$PWD/libs/linux/libPci/lib/ -lpci
INCLUDEPATH += $$PWD/libs/linux/libPci/include
# DEPENDPATH += $$PWD/libs/linux/libPci/include
PRE_TARGETDEPS += $$PWD/libs/linux/libPci/lib/libpci.a
}
############### Other files ###############
OTHER_FILES += LICENSE\
README.md\
.gitignore
############### Deployment ###############
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
############### Garbage ###############
# QxORM Library
#include($$PWD/../../../../../Software/Linux/Software/QxOrm/QxOrm.pri)
#unix:!macx: LIBS += -L$$PWD/../../../../../Software/Linux/Software/QxOrm/lib/ -lQxOrm
#INCLUDEPATH += $$PWD/../../../../../Software/Linux/Software/QxOrm/include
#DEPENDPATH += $$PWD/../../../../../Software/Linux/Software/QxOrm/include
## University
#unix:!macx: LIBS += -L$$PWD/../../../QxEntityEditor/University/cpp/bin/ -lUniversity
#INCLUDEPATH += $$PWD/../../../QxEntityEditor/University/cpp/bin
#DEPENDPATH += $$PWD/../../../QxEntityEditor/University/cpp/bin
#INCLUDEPATH += $$PWD/../../../QxEntityEditor/University/cpp/include
#DEPENDPATH += $$PWD/../../../QxEntityEditor/University/cpp/include
## University-Model
#unix:!macx: LIBS += -L$$PWD/../../../QxEntityEditor/University/modelview/bin/ -lUniversityModel
#INCLUDEPATH += $$PWD/../../../QxEntityEditor/University/modelview/bin
#DEPENDPATH += $$PWD/../../../QxEntityEditor/University/modelview/bin
#INCLUDEPATH += $$PWD/../../../QxEntityEditor/University/modelview/include
#DEPENDPATH += $$PWD/../../../QxEntityEditor/University/modelview/include
#QMAKE_CXXFLAGS += -lz -ludev
# CONFIG += link_pkgconfig
# PKGCONFIG += libprocps libpci#Magick++
#unix: PKGCONFIG += libpci zlib