forked from juzzlin/Heimer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheimer.pro
141 lines (127 loc) · 3.79 KB
/
heimer.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
# Qt project file to cross-compile the editor for Windows with MXE
# (there are problems with static Qt and CMake)
TEMPLATE = app
TARGET = heimer
DEFINES += VERSION=\\\"2.4.0\\\"
DEFINES += PACKAGE_TYPE=\\\"$$(PACKAGE_TYPE)\\\"
CONFIG += c++14 lrelease embed_translations
# Qt version check
contains(QT_VERSION, ^[5-6]\\..*) {
message("Building for Qt version $${QT_VERSION}.")
QT += widgets svg xml
} else {
error("Qt5 or Qt6 is required!")
}
SRC = src
INCLUDEPATH += . $$SRC/contrib/SimpleLogger/src $$SRC/contrib/Argengine/src
# Input
HEADERS += \
$$SRC/about_dlg.hpp \
$$SRC/alz_serializer.hpp \
$$SRC/application.hpp \
$$SRC/defaults_tab.hpp \
$$SRC/graph.hpp \
$$SRC/graphics_factory.hpp \
$$SRC/grid.hpp \
$$SRC/edge.hpp \
$$SRC/edge_context_menu.hpp \
$$SRC/edge_dot.hpp \
$$SRC/edge_text_edit.hpp \
$$SRC/editing_tab.hpp \
$$SRC/editor_data.hpp \
$$SRC/editor_scene.hpp \
$$SRC/editor_view.hpp \
$$SRC/file_exception.hpp \
$$SRC/hash_seed.hpp \
$$SRC/image.hpp \
$$SRC/image_manager.hpp \
$$SRC/png_export_dialog.hpp \
$$SRC/layers.hpp \
$$SRC/layout_optimization_dialog.hpp \
$$SRC/layout_optimizer.hpp \
$$SRC/magic_zoom.hpp \
$$SRC/main_context_menu.hpp \
$$SRC/main_window.hpp \
$$SRC/mediator.hpp \
$$SRC/mind_map_data.hpp \
$$SRC/mind_map_data_base.hpp \
$$SRC/mouse_action.hpp \
$$SRC/node.hpp \
$$SRC/node_handle.hpp \
$$SRC/recent_files_manager.hpp \
$$SRC/recent_files_menu.hpp \
$$SRC/selection_group.hpp \
$$SRC/settings.hpp \
$$SRC/settings_dialog.hpp \
$$SRC/settings_proxy.hpp \
$$SRC/state_machine.hpp \
$$SRC/svg_export_dialog.hpp \
$$SRC/test_mode.hpp \
$$SRC/text_edit.hpp \
$$SRC/undo_stack.hpp \
$$SRC/whats_new_dlg.hpp \
$$SRC/widget_factory.hpp \
$$SRC/xml_reader.hpp \
$$SRC/xml_writer.hpp \
$$SRC/contrib/Argengine/src/argengine.hpp \
$$SRC/contrib/SimpleLogger/src/simple_logger.hpp \
SOURCES += \
$$SRC/about_dlg.cpp \
$$SRC/alz_serializer.cpp \
$$SRC/application.cpp \
$$SRC/defaults_tab.cpp \
$$SRC/graph.cpp \
$$SRC/graphics_factory.cpp \
$$SRC/grid.cpp \
$$SRC/edge.cpp \
$$SRC/edge_context_menu.cpp \
$$SRC/edge_dot.cpp \
$$SRC/edge_text_edit.cpp \
$$SRC/editing_tab.cpp \
$$SRC/editor_data.cpp \
$$SRC/editor_scene.cpp \
$$SRC/editor_view.cpp \
$$SRC/hash_seed.cpp \
$$SRC/image.cpp \
$$SRC/image_manager.cpp \
$$SRC/png_export_dialog.cpp \
$$SRC/layout_optimization_dialog.cpp \
$$SRC/layout_optimizer.cpp \
$$SRC/magic_zoom.cpp \
$$SRC/main.cpp \
$$SRC/main_context_menu.cpp \
$$SRC/main_window.cpp \
$$SRC/mediator.cpp \
$$SRC/mind_map_data.cpp \
$$SRC/mind_map_data_base.cpp \
$$SRC/mouse_action.cpp \
$$SRC/node.cpp \
$$SRC/node_handle.cpp \
$$SRC/recent_files_manager.cpp \
$$SRC/recent_files_menu.cpp \
$$SRC/selection_group.cpp \
$$SRC/settings.cpp \
$$SRC/settings_dialog.cpp \
$$SRC/settings_proxy.cpp \
$$SRC/state_machine.cpp \
$$SRC/svg_export_dialog.cpp \
$$SRC/test_mode.cpp \
$$SRC/text_edit.cpp \
$$SRC/undo_stack.cpp \
$$SRC/whats_new_dlg.cpp \
$$SRC/widget_factory.cpp \
$$SRC/xml_reader.cpp \
$$SRC/xml_writer.cpp \
$$SRC/contrib/Argengine/src/argengine.cpp \
$$SRC/contrib/SimpleLogger/src/simple_logger.cpp \
QM_FILES_RESOURCE_PREFIX = /translations
TRANSLATIONS += \
$$SRC/translations/heimer_fi.ts \
$$SRC/translations/heimer_fr.ts \
$$SRC/translations/heimer_it.ts \
$$SRC/translations/heimer_nl.ts
RESOURCES += meta.qrc data/icons/icons.qrc data/images/images.qrc
RC_FILE = data/icons/WindowsHeimer.rc
data.files = AUTHORS CHANGELOG COPYING README
target.path = $$OUT_PWD/../..
INSTALLS += target