author | insilmaril |
Mon Jul 14 11:21:10 2008 +0000 (2008-07-14) | |
changeset 718 | d2a9c31353f7 |
parent 702 | a02d84c2d0ac |
child 721 | 12958f987bcf |
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_fr.ts
11 TRANSLATIONS += lang/vym_it.ts
12 TRANSLATIONS += lang/vym_pt_BR.ts
13 TRANSLATIONS += lang/vym_ru.ts
14 TRANSLATIONS += lang/vym_zh_CN.ts
16 # Manifest embedding was suggested by Qt docs somewhere...
17 win32: CONFIG += embed_manifest_exe
19 # Without this, M_PI, and M_PI_2 won`t be defined.
20 win32:DEFINES *= _USE_MATH_DEFINES
22 ICON =icons/vym.icns
24 QT += qt3support
25 QT += network
27 HEADERS += \
28 aboutdialog.h \
29 animpoint.h \
30 attribute.h \
31 attributedelegate.h\
32 attributedialog.h \
33 attributewidget.h \
34 branchobj.h \
35 branchpropwindow.h\
36 editxlinkdialog.h \
37 exportoofiledialog.h \
38 exportxhtmldialog.h\
39 exports.h \
40 extrainfodialog.h \
41 file.h \
42 findwindow.h \
43 flagobj.h \
44 flagrowobj.h \
45 floatimageobj.h \
46 floatobj.h \
47 frameobj.h \
48 geometry.h \
49 headingobj.h \
50 highlighter.h \
51 historywindow.h \
52 imageobj.h \
53 imports.h \
54 linkablemapobj.h \
55 mainwindow.h \
56 mapcenterobj.h \
57 mapeditor.h \
58 mapobj.h \
59 misc.h \
60 noteobj.h \
61 options.h \
62 ornamentedobj.h \
63 parser.h \
64 process.h \
65 selection.h \
66 showtextdialog.h\
67 simplescripteditor.h\
68 texteditor.h \
69 version.h \
70 vymmodel.h \
71 xlinkobj.h \
72 xml-base.h \
73 xml-vym.h \
74 xml-freemind.h \
75 xmlobj.h\
76 xsltproc.h \
77 settings.h \
78 warningdialog.h
80 SOURCES += \
81 aboutdialog.cpp \
82 animpoint.cpp \
83 attribute.cpp \
84 attributedelegate.cpp \
85 attributedialog.cpp \
86 attributewidget.cpp \
87 branchobj.cpp \
88 branchpropwindow.cpp \
89 editxlinkdialog.cpp \
90 exportoofiledialog.cpp \
91 exports.cpp \
92 exportxhtmldialog.cpp \
93 extrainfodialog.cpp \
94 file.cpp \
95 findwindow.cpp \
96 flagobj.cpp \
97 flagrowobj.cpp \
98 floatimageobj.cpp \
99 floatobj.cpp \
100 frameobj.cpp \
101 geometry.cpp \
102 headingobj.cpp \
103 highlighter.cpp \
104 historywindow.cpp \
105 imageobj.cpp \
106 imports.cpp \
107 linkablemapobj.cpp \
108 main.cpp \
109 mainwindow.cpp \
110 mapcenterobj.cpp \
111 mapeditor.cpp \
112 mapobj.cpp \
113 misc.cpp \
114 noteobj.cpp \
115 options.cpp \
116 ornamentedobj.cpp \
117 parser.cpp \
118 process.cpp \
119 selection.cpp \
120 showtextdialog.cpp \
121 simplescripteditor.cpp \
122 texteditor.cpp \
123 version.cpp \
124 vymmodel.cpp \
125 xlinkobj.cpp \
126 xml-base.cpp \
127 xml-vym.cpp \
128 xml-freemind.cpp \
129 xmlobj.cpp \
130 xsltproc.cpp \
131 settings.cpp \
132 warningdialog.cpp
134 FORMS = \
135 attributewidget.ui \
136 branchpropwindow.ui \
137 exportxhtmldialog.ui \
138 extrainfodialog.ui \
139 editxlinkdialog.ui \
140 historywindow.ui \
141 simplescripteditor.ui \
142 showtextdialog.ui \
143 warningdialog.ui
145 win32 {
146 HEADERS += mkdtemp.h
147 SOURCES += mkdtemp.cpp
148 RC_FILE = vym.rc
149 }
151 #The following lines were inserted by qt3to4
152 QT += xml
154 TARGET = vym
157 isEmpty( PREFIX ) {
158 PREFIX = /usr/local
159 count( INSTALLDIR, 1 ) {
160 PREFIX = $${INSTALLDIR}
161 message( "Please use PREFIX instead of INSTALLDIR" )
162 }
163 }
164 isEmpty( BINDIR ) {
165 BINDIR = $${PREFIX}/bin
166 }
167 isEmpty( DATADIR ) {
168 DATADIR = $${PREFIX}/share
169 }
170 isEmpty( DOCDIR ) {
171 DOCDIR = $${DATADIR}/doc/packages/vym
172 }
174 message( "Installation directory" )
175 message( $$PREFIX )
178 target.path = $${BINDIR}
179 INSTALLS += target
181 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
182 support.path = $${DATADIR}/vym
183 INSTALLS += support
185 doc.files = doc/vym.pdf
186 doc.path = $${DOCDIR}
187 INSTALLS += doc
188 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"