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