-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathRealTimeRaytracing.pro
More file actions
58 lines (36 loc) · 867 Bytes
/
RealTimeRaytracing.pro
File metadata and controls
58 lines (36 loc) · 867 Bytes
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
#-------------------------------------------------
#
# Project created by QtCreator 2015-10-25T14:56:30
#
#-------------------------------------------------
#Requires Qt 5.4 or above.
#TODO this is messy
QT += core opengl
CONFIG += c++11
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = RealTimeRaytracing
TEMPLATE = app
INCLUDEPATH += glm
SOURCES += *.cpp
HEADERS += *.h \
drawables.hpp
HEADERS += *.hpp
macx {
#Must choose proper sdk
QMAKE_MAC_SDK = macosx10.11
#link to mac os framework
LIBS += -framework OpenCL
#Suppress CLANG warning
QMAKE_CXXFLAGS += -Wno-inconsistent-missing-override
}
OTHER_FILES += \
cl_files/raytracing.cl
RESOURCES += \
kernels.qrc
OTHER_FILES += README.md
win32 {
LIBS += -lopengl32
#AMD
LIBS += $$_PRO_FILE_PWD_/AMD/lib_x86_64/libOpenCL.a
INCLUDEPATH += $$_PRO_FILE_PWD_/AMD/include
}