-
-
Notifications
You must be signed in to change notification settings - Fork 421
Expand file tree
/
Copy pathcode_generator.pro
More file actions
66 lines (52 loc) · 2.03 KB
/
code_generator.pro
File metadata and controls
66 lines (52 loc) · 2.03 KB
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
# code_generator.pro
#
# Unix or Windows directory configuration
PGMODELER_SRC_DIR=../../
!exists($$PGMODELER_SRC_DIR) {
warning("The pgModeler source code directory '$$PGMODELER_SRC_DIR' could not be found! Make sure the variable PGMODELER_SRC_DIR points to a valid location!")
error("qmake aborted.")
}
include(../plugins.pro)
CONFIG += plugin qt uic4
QT += core gui uitools
TEMPLATE = lib
TARGET = code_generator
OTHER_FILES += code_generator.json
CODECFORTR = UTF8
DEPENDPATH = ". res src ui moc obj"
MOC_DIR = moc
OBJECTS_DIR = obj
UI_DIR = src
windows: DESTDIR += $$PWD
unix|windows: LIBS += -L$$OUT_PWD/../../libpgmodeler_ui/ -lpgmodeler_ui \
-L$$OUT_PWD/../../libobjrenderer/ -lobjrenderer \
-L$$OUT_PWD/../../libpgconnector/ -lpgconnector \
-L$$OUT_PWD/../../libpgmodeler/ -lpgmodeler \
-L$$OUT_PWD/../../libparsers/ -lparsers \
-L$$OUT_PWD/../../libutils/ -lutils
INCLUDEPATH += $$PWD/../../libpgmodeler_ui \
$$PWD/../../libpgmodeler_ui/src \
$$PWD/../../libobjrenderer/src \
$$PWD/../../libpgconnector/src \
$$PWD/../../libpgmodeler/src \
$$PWD/../../libparsers/src \
$$PWD/../../libutils/src
DEPENDPATH += $$PWD/../../libpgmodeler_ui \
$$PWD/../../libobjrenderer \
$$PWD/../../libpgconnector \
$$PWD/../../libpgmodeler \
$$PWD/../../libparsers \
$$PWD/../../libutils
HEADERS += src/code_generator_plugin.h \
src/code_generator_widget.h \
src/base_code_generator.h \
src/python_daos_generator.h \
src/base_logger.h
SOURCES += src/code_generator_plugin.cpp \
src/code_generator_widget.cpp \
src/python_daos_generator.cpp
FORMS += ui/code_generator_widget.ui
target.path = $$PLUGINSDIR/$$TARGET
resources.path = $$PLUGINSDIR/$$TARGET
resources.files += res/code_generator.png lang code_generator.json
INSTALLS += target resources