-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathOpenCLCapsViewer.pro
More file actions
104 lines (89 loc) · 2.37 KB
/
OpenCLCapsViewer.pro
File metadata and controls
104 lines (89 loc) · 2.37 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
TEMPLATE = app
TARGET = OpenCLCapsViewer
QT += core network widgets gui
CONFIG += c++17
DEFINES += GUI_BUILD
DEFINES += QT_DLL QT_NETWORK_LIB QT_WIDGETS_LIB
DEFINES += CL_TARGET_OPENCL_VERSION=300
INCLUDEPATH += ./GeneratedFiles \
. \
./GeneratedFiles/Release
ANDROID_MIN_SDK_VERSION = 25
ANDROID_TARGET_SDK_VERSION = 35
# 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 \
mainwindow.cpp \
database.cpp \
deviceinfo.cpp \
openclfunctions.cpp \
openclinfo.cpp \
platforminfo.cpp \
treeproxyfilter.cpp \
submitdialog.cpp \
settings.cpp \
settingsdialog.cpp \
appinfo.cpp \
report.cpp \
operatingsystem.cpp
HEADERS += \
displayutils.h \
mainwindow.h \
database.h \
deviceinfo.h \
openclfunctions.h \
openclinfo.h \
platforminfo.h \
treeproxyfilter.h \
submitdialog.h \
settings.h \
settingsdialog.h \
appinfo.h \
report.h \
operatingsystem.h
FORMS += \
mainwindow.ui
INCLUDEPATH += "external/OpenCL-Headers"
win32 {
}
linux:!android {
contains(DEFINES, X11) {
message("Building for X11")
DEFINES += VK_USE_PLATFORM_XCB_KHR
}
contains(DEFINES, WAYLAND) {
message("Building for Wayland")
QT += waylandclient
DEFINES += VK_USE_PLATFORM_WAYLAND_KHR
}
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 {
CONFIG += mobility
MOBILITY =
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
RESOURCES += \
mainwindow.qrc
win32:RC_FILE = OpenCLCapsViewer.rc
DISTFILES += \
android/res/xml/qtprovider_paths.xml