forked from SaschaWillems/OpenCLCapsViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenCLCapsViewerCLI.pro
More file actions
80 lines (69 loc) · 1.86 KB
/
OpenCLCapsViewerCLI.pro
File metadata and controls
80 lines (69 loc) · 1.86 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
TEMPLATE = app
TARGET = OpenCLCapsViewer
QT += core network
#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
CONFIG += console
DEFINES += QT_DLL QT_NETWORK_LIB
DEFINES += CL_TARGET_OPENCL_VERSION=300
INCLUDEPATH += ./GeneratedFiles \
. \
./GeneratedFiles/Release
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
displayutils.cpp \
main.cpp \
database.cpp \
deviceinfo.cpp \
openclfunctions.cpp \
openclinfo.cpp \
platforminfo.cpp \
treeproxyfilter.cpp \
settings.cpp \
appinfo.cpp \
report.cpp \
operatingsystem.cpp
HEADERS += \
displayutils.h \
database.h \
deviceinfo.h \
openclfunctions.h \
openclinfo.h \
platforminfo.h \
treeproxyfilter.h \
settings.h \
appinfo.h \
report.h \
operatingsystem.h
INCLUDEPATH += "external/OpenCL-Headers"
win32 {
}
linux:!android {
target.path = /usr/bin
LIBS += -ldl
INSTALLS += target
desktop.files = OpenCLCapsViewer.desktop
desktop.path = /usr/share/applications
icon.extra = cp $$PWD/Resources/icon.png openclCapsViewer.png
icon.files = openclCapsViewer.png
icon.path = /usr/share/icons/hicolor/256x256/apps/
INSTALLS += desktop icon
}
android {
QT += androidextras
CONFIG += mobility
MOBILITY =
LIBS += -landroid
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
DISTFILES += \
android/AndroidManifest.xml \
android/build.gradle \
android/res/values/libs.xml
}
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32:RC_FILE = OpenCLCapsViewer.rc