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