author | insilmaril |
Tue, 08 Apr 2008 08:28:37 +0000 | |
changeset 682 | 16af22e2c155 |
parent 676 | 3dabc6424d73 |
child 702 | a02d84c2d0ac |
permissions | -rw-r--r-- |
1 TEMPLATE = app
2 LANGUAGE = C++
4 CONFIG += qt warn_on release debug
5 CONFIG += x86 ppc
7 TRANSLATIONS += lang/vym_de.ts
8 TRANSLATIONS += lang/vym_en.ts
9 TRANSLATIONS += lang/vym_es.ts
10 TRANSLATIONS += lang/vym_it.ts
11 TRANSLATIONS += lang/vym_fr.ts
12 TRANSLATIONS += lang/vym_zh_CN.ts
13 TRANSLATIONS += lang/vym_pt_BR.ts
15 # Manifest embedding was suggested by Qt docs somewhere...
16 win32: CONFIG += embed_manifest_exe
18 # Without this, M_PI, and M_PI_2 won`t be defined.
19 win32:DEFINES *= _USE_MATH_DEFINES
21 ICON =icons/vym.icns
23 QT += qt3support
24 QT += network
26 HEADERS += \
27 aboutdialog.h \
28 animpoint.h \
29 attribute.h \
30 attributedelegate.h\
31 attributedialog.h \
32 attributewidget.h \
33 branchobj.h \
34 branchpropwindow.h\
35 editxlinkdialog.h \
36 exportoofiledialog.h \
37 exportxhtmldialog.h\
38 exports.h \
39 extrainfodialog.h \
40 file.h \
41 findwindow.h \
42 flagobj.h \
43 flagrowobj.h \
44 floatimageobj.h \
45 floatobj.h \
46 frameobj.h \
47 geometry.h \
48 headingobj.h \
49 highlighter.h \
50 historywindow.h \
51 imageobj.h \
52 imports.h \
53 linkablemapobj.h \
54 mainwindow.h \
55 mapcenterobj.h \
56 mapeditor.h \
57 mapobj.h \
58 misc.h \
59 noteobj.h \
60 options.h \
61 ornamentedobj.h \
62 parser.h \
63 process.h \
64 selection.h \
65 showtextdialog.h\
66 simplescripteditor.h\
67 texteditor.h \
68 version.h \
69 vymmodel.h \
70 xlinkobj.h \
71 xml-base.h \
72 xml-vym.h \
73 xml-freemind.h \
74 xmlobj.h\
75 xsltproc.h \
76 settings.h \
77 warningdialog.h
79 SOURCES += \
80 aboutdialog.cpp \
81 animpoint.cpp \
82 attribute.cpp \
83 attributedelegate.cpp \
84 attributedialog.cpp \
85 attributewidget.cpp \
86 branchobj.cpp \
87 branchpropwindow.cpp \
88 editxlinkdialog.cpp \
89 exportoofiledialog.cpp \
90 exports.cpp \
91 exportxhtmldialog.cpp \
92 extrainfodialog.cpp \
93 file.cpp \
94 findwindow.cpp \
95 flagobj.cpp \
96 flagrowobj.cpp \
97 floatimageobj.cpp \
98 floatobj.cpp \
99 frameobj.cpp \
100 geometry.cpp \
101 headingobj.cpp \
102 highlighter.cpp \
103 historywindow.cpp \
104 imageobj.cpp \
105 imports.cpp \
106 linkablemapobj.cpp \
107 main.cpp \
108 mainwindow.cpp \
109 mapcenterobj.cpp \
110 mapeditor.cpp \
111 mapobj.cpp \
112 misc.cpp \
113 noteobj.cpp \
114 options.cpp \
115 ornamentedobj.cpp \
116 parser.cpp \
117 process.cpp \
118 selection.cpp \
119 showtextdialog.cpp \
120 simplescripteditor.cpp \
121 texteditor.cpp \
122 version.cpp \
123 vymmodel.cpp \
124 xlinkobj.cpp \
125 xml-base.cpp \
126 xml-vym.cpp \
127 xml-freemind.cpp \
128 xmlobj.cpp \
129 xsltproc.cpp \
130 settings.cpp \
131 warningdialog.cpp
133 FORMS = \
134 attributewidget.ui \
135 branchpropwindow.ui \
136 exportxhtmldialog.ui \
137 extrainfodialog.ui \
138 editxlinkdialog.ui \
139 historywindow.ui \
140 simplescripteditor.ui \
141 showtextdialog.ui \
142 warningdialog.ui
144 win32 {
145 HEADERS += mkdtemp.h
146 SOURCES += mkdtemp.cpp
147 RC_FILE = vym.rc
148 }
150 #The following lines were inserted by qt3to4
151 QT += xml
153 TARGET = vym
156 isEmpty( PREFIX ) {
157 PREFIX = /usr/local
158 count( INSTALLDIR, 1 ) {
159 PREFIX = $${INSTALLDIR}
160 message( "Please use PREFIX instead of INSTALLDIR" )
161 }
162 }
163 isEmpty( BINDIR ) {
164 BINDIR = $${PREFIX}/bin
165 }
166 isEmpty( DATADIR ) {
167 DATADIR = $${PREFIX}/share
168 }
169 isEmpty( DOCDIR ) {
170 DOCDIR = $${DATADIR}/doc/packages/vym
171 }
172 isEmpty( DEMODIR ) {
173 DEMODIR = $${DOCDIR}
174 }
176 message( "Installation directory" )
177 message( $$PREFIX )
180 target.path = $${BINDIR}
181 INSTALLS += target
183 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
184 support.path = $${DATADIR}/vym
185 INSTALLS += support
187 doc.files = doc/vym.pdf
188 doc.path = $${DOCDIR}
189 INSTALLS += doc
190 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
192 demo.files = demos/
193 demo.path = $${DEMODIR}
194 INSTALLS += demo