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