forked from SlopeCraft/SlopeCraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSlopeCraft.pro
125 lines (106 loc) · 2.76 KB
/
SlopeCraft.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
QT += core gui
#QT += opengl
#QT += quick quick3d
INCLUDEPATH += D:\eigen-3.3.9
INCLUDEPATH += ./Headers
INCLUDEPATH += ./Sources
INCLUDEPATH += ./others
DEFINES += WIN32_LEAN_AND_MEAN
RC_ICONS = others/SlopeCraft.ico
# 版本号
VERSION = 3.5.1.0
# 语言
# 0x0004 表示 简体中文
RC_LANG = 0x0004
# 公司名
#QMAKE_TARGET_COMPANY = TokiNoBug
# 产品名称
#QMAKE_TARGET_PRODUCT = SlopeCraft.exe
# 详细描述
#QMAKE_TARGET_DESCRIPTION = SlopeCraft is a generator for 3 dimensional pixel painting in minecraft.
# 版权
#QMAKE_TARGET_COPYRIGHT = CopyRight TokiNoBug
DEFINES += QT_NO_WARNING_OUTPUT\
QT_NO_DEBUG_OUTPUT
#仅在发布时取消注释
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
# 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 += \
Sources/CIEDE00.cpp \
Sources/Collecter.cpp \
Sources/NBTWriter.cpp \
Sources/OptiChain.cpp \
Sources/Page0.cpp \
Sources/Page1.cpp \
Sources/Page2.cpp \
Sources/Page3.cpp \
Sources/Page4.cpp \
Sources/Page5.cpp \
Sources/Page6.cpp \
Sources/Page7.cpp \
Sources/Page8.cpp \
Sources/Pages.cpp \
Sources/WaterItem.cpp \
Sources/adjt.cpp \
Sources/main.cpp \
Sources/mainwindow.cpp \
Sources/mcmap.cpp \
Sources/previewwind.cpp \
Sources/tokicolor.cpp \
Sources/tpstrategywind.cpp \
zlibs/adler32.c \
zlibs/compress.c \
zlibs/crc32.c \
zlibs/deflate.c \
zlibs/gzclose.c \
zlibs/gzlib.c \
zlibs/gzread.c \
zlibs/gzwrite.c \
zlibs/infback.c \
zlibs/inffast.c \
zlibs/inflate.c \
zlibs/inftrees.c \
zlibs/trees.c \
zlibs/uncompr.c \
zlibs/zutil.c
HEADERS += \
Headers/NBTWriter.h \
Headers/OptiChain.h \
Headers/WaterItem.h \
Headers/mainwindow.h \
Headers/previewwind.h \
Headers/tpstrategywind.h \
zlibs/crc32.h \
zlibs/deflate.h \
zlibs/gzguts.h \
zlibs/inffast.h \
zlibs/inffixed.h \
zlibs/inflate.h \
zlibs/inftrees.h \
zlibs/trees.h \
zlibs/zconf.h \
zlibs/zlib.h \
zlibs/zutil.h
FORMS += \
others/mainwindow.ui \
\ #previewer.ui
others/previewwind.ui \
others/tpstrategywind.ui
TRANSLATIONS += \
others/Slope_zh_CN.ts \
others/Slope_en_US.ts
CODECFORTR = utf-8
CONFIG += lrelease
CONFIG += embed_translations
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
others/BlockTextures.qrc \
others/Languages.qrc \
others/Pics.qrc
QT += widgets