-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecklinkcapture.pro
52 lines (37 loc) · 924 Bytes
/
decklinkcapture.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
QT += core gui network opengl
TARGET = nativedecklinkcapture
TEMPLATE = app
# For debugging, comment out
CONFIG-=warn_on
CONFIG+=release
DEFINES+=GLSL_YUV
contains(DEFINES, GLSL_YUV) {
LIBS+= -lGLEW
SOURCES += sageShader.cpp
HEADERS += sageShader.h
}
SOURCES += decklinkcapturedelegate.cpp include/DeckLinkAPIDispatch.cpp \
glwidget.cpp window.cpp
HEADERS += decklinkcapturedelegate.h \
include/DeckLinkAPI.h \
glwidget.h window.h
# For Decklink SDK
INCLUDEPATH += include /usr/include/libpng
macx {
LIBS +=
CONFIG -= app_bundle
}
linux-g++ {
LIBS +=
}
linux-g++-64 {
LIBS +=
}
LIBS += -lpthread -lm -ldl -lpng
target.path=.
INSTALLS += target
message(Qt version: $$[QT_VERSION])
message(Qt is installed in $$[QT_INSTALL_PREFIX])
message(Qt resources can be found in the following locations:)
message(Header files: $$[QT_INSTALL_HEADERS])
message(Libraries: $$[QT_INSTALL_LIBS])