-
Notifications
You must be signed in to change notification settings - Fork 8
/
ogre-v2-mesh-viewer.pro
141 lines (125 loc) · 3.73 KB
/
ogre-v2-mesh-viewer.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
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
message(Qt version: $$[QT_VERSION])
QT += widgets
CONFIG -= flat
VERSION = 0.4.3
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
OGREHOME = $$(OGREHOME)
isEmpty(OGREHOME) {
OGREHOME = "D:/ogre/ogre-next/build/sdk"
}
message(OGRE_HOME: $$OGREHOME)
HEADERS = \
src/mainwindow.h \
src/ogremanager.h \
src/ogrewidget.h \
src/lightwidget.h \
src/objimporter.h \
src/cameracontroller.h \
src/objexporter.h \
src/scopeguard.h \
src/batchconversiondialog.h \
src/loadfromfolderdialog.h \
src/TinyObjLoader\tiny_obj_loader.h \
src/TinyXML/tinyxml.h \
src/TinyXML/tinystr.h \
src/OgreXML/OgreXMLMeshSerializer.h \
src/OgreGLTF/Ogre_glTF.hpp \
src/OgreGLTF/Ogre_glTF_common.hpp \
src/OgreGLTF/Ogre_glTF_DLL.hpp \
src/OgreGLTF/Ogre_glTF_internal_utils.hpp \
src/OgreGLTF/Ogre_glTF_materialLoader.hpp \
src/OgreGLTF/Ogre_glTF_modelConverter.hpp \
src/OgreGLTF/Ogre_glTF_OgrePlugin.hpp \
src/OgreGLTF/Ogre_glTF_OgreResource.hpp \
src/OgreGLTF/Ogre_glTF_skeletonImporter.hpp \
src/OgreGLTF/Ogre_glTF_textureImporter.hpp \
src/TinyGLTF/tiny_gltf.h \
src/TinyGLTF/stb_image.h \
src/TinyGLTF/stb_image_write.h \
src/TinyGLTF/tiny_gltf.h \
src/TinyGLTF/json.hpp \
src/meshloader.h \
src/scenetreewidget.h \
src/scenetreemodel.h \
src/transformwidget.h \
src/inspector.h \
src/saveasdialog.h \
src/materialwidget.h \
src/spinslider.h \
src/texturebutton.h \
src/meshwidget.h
SOURCES = \
src/main.cpp \
src/mainwindow.cpp \
src/ogremanager.cpp \
src/ogrewidget.cpp \
src/lightwidget.cpp \
src/objimporter.cpp \
src/cameracontroller.cpp \
src/objexporter.cpp \
src/batchconversiondialog.cpp \
src/loadfromfolderdialog.cpp \
src/OgreXML/OgreXMLMeshSerializer.cpp \
src/TinyXML/tinyxml.cpp \
src/TinyXML/tinystr.cpp \
src/TinyXML/tinyxmlerror.cpp \
src/TinyXML/tinyxmlparser.cpp \
src/OgreGLTF/Ogre_glTF.cpp \
src/OgreGLTF/Ogre_glTF_common.cpp \
src/OgreGLTF/Ogre_glTF_materialLoader.cpp \
src/OgreGLTF/Ogre_glTF_modelConverter.cpp \
src/OgreGLTF/Ogre_glTF_OgrePlugin.cpp \
src/OgreGLTF/Ogre_glTF_OgreResource.cpp \
src/OgreGLTF/Ogre_glTF_skeletonImporter.cpp \
src/OgreGLTF/Ogre_glTF_textureImporter.cpp \
src/meshloader.cpp \
src/scenetreewidget.cpp \
src/scenetreemodel.cpp \
src/transformwidget.cpp \
src/inspector.cpp \
src/saveasdialog.cpp \
src/materialwidget.cpp \
src/spinslider.cpp \
src/texturebutton.cpp \
src/meshwidget.cpp
FORMS += \
src/mainwindow.ui \
src/lightwidget.ui \
src/batchconversiondialog.ui \
src/loadfromfolderdialog.ui \
src/scenetreewidget.ui \
src/transformwidget.ui \
src/saveasdialog.ui \
src/materialwidget.ui \
src/meshwidget.ui
PRECOMPILED_HEADER = src/stdafx.h
INCLUDEPATH += "src"
INCLUDEPATH += "$$OGREHOME/include"
INCLUDEPATH += "$$OGREHOME/include/OGRE"
INCLUDEPATH += "$$OGREHOME/include/OGRE/Hlms/Pbs"
INCLUDEPATH += "$$OGREHOME/include/OGRE/Hlms/Unlit"
INCLUDEPATH += "$$OGREHOME/include/OGRE/Hlms/Common"
INCLUDEPATH += "src/TinyXML"
INCLUDEPATH += "src/TinyObjLoader"
INCLUDEPATH += "src/TinyGLTF"
DEFINES += TIXML_USE_STL
Debug:LIBS += -L"$$OGREHOME/lib/debug"
Debug:LIBS += -L"$$OGREHOME/lib/debug/opt"
Release:LIBS += -L"$$OGREHOME/lib/release"
Release:LIBS += -L"$$OGREHOME/lib/release/opt"
CONFIG(debug, debug|release):LIBS += \
-lopengl32 \
-lOgreMain_d \
-lOgreHlmsPbs_d \
-lOgreHlmsUnlit_d \
-lOgreOverlay_d
CONFIG(release, debug|release):LIBS += \
-lopengl32 \
-lOgreMain \
-lOgreHlmsPbs \
-lOgreHlmsUnlit \
-lOgreOverlay
Release:DESTDIR = ./bin
Debug:DESTDIR = ./dbin
target.path = $$[QTDIR]/
INSTALLS += target