-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQD3D11.pro
36 lines (29 loc) · 969 Bytes
/
QD3D11.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
TEMPLATE = lib
CONFIG += qt console thread debug_and_release staticlib
INCLUDEPATH += $(QTDIR)/include/QtCore
INCLUDEPATH += $(QTDIR)/include/QtGui
INCLUDEPATH += $(QTDIR)/include
INCLUDEPATH += $(DXSDK_DIR)Include
INCLUDEPATH += $(DXSDK_DIR)Samples/C++/Effects11/Inc
INCLUDEPATH += ../libcgt/core/include
INCLUDEPATH += ./include
LIBPATH += $(QTDIR)/lib
LIBPATH += $(DXSDK_DIR)Lib/x64
LIBS += d3d11.lib d3dcompiler.lib Effects11.lib
CONFIG( debug, debug|release ) {
LIBPATH += $(DXSDK_DIR)Samples/C++/Effects11/x64/Debug
LIBPATH += ../libcgt/debug
LIBS += libcgt_cored.lib d3dx10d.lib d3dx11d.lib
TARGET = QD3D11d
} else {
LIBPATH += $(DXSDK_DIR)Samples/C++/Effects11/x64/Release
LIBPATH += ../libcgt/release
LIBS += libcgt_core.lib d3dx10.lib d3dx11.lib
TARGET = QD3D11
DEFINES += _SECURE_SCL=0
}
QMAKE_CXXFLAGS += -MP4
DEFINES += _CRT_SECURE_NO_WARNINGS
# Code
HEADERS = include/*.h
SOURCES = src/*.cpp