vym.pro
branchrelease-1-12-maintained
changeset 80 5c5b4464b24f
parent 76 a36a289372a6
     1.1 --- a/vym.pro	Fri Mar 05 19:15:08 2010 +0000
     1.2 +++ b/vym.pro	Fri Mar 05 20:16:46 2010 +0000
     1.3 @@ -1,9 +1,10 @@
     1.4 -TEMPLATE	= app
     1.5 -LANGUAGE	= C++
     1.6 -
     1.7 -CONFIG	+= qt warn_on debug_and_release
     1.8 -CONFIG += x86 ppc
     1.9 -
    1.10 +TEMPLATE = app
    1.11 +LANGUAGE = C++
    1.12 +CONFIG += qt \
    1.13 +    warn_on \
    1.14 +    debug_and_release
    1.15 +CONFIG += x86 \
    1.16 +    ppc
    1.17  TRANSLATIONS += lang/vym_de.ts
    1.18  TRANSLATIONS += lang/vym_en.ts
    1.19  TRANSLATIONS += lang/vym_es.ts
    1.20 @@ -16,176 +17,160 @@
    1.21  TRANSLATIONS += lang/vym_zh_TW.ts
    1.22  
    1.23  # Manifest embedding was suggested by Qt docs somewhere...
    1.24 -win32: CONFIG += embed_manifest_exe
    1.25 +win32:CONFIG += embed_manifest_exe
    1.26  
    1.27  # Without this, M_PI, and M_PI_2 won`t be defined.
    1.28  win32:DEFINES *= _USE_MATH_DEFINES
    1.29 -
    1.30 -ICON =icons/vym.icns
    1.31 -
    1.32 +ICON = icons/vym.icns
    1.33  QT += qt3support
    1.34  QT += network
    1.35 -
    1.36 -HEADERS	+= \
    1.37 -	aboutdialog.h \
    1.38 -	animpoint.h \
    1.39 -	attribute.h \
    1.40 -	attributedelegate.h\
    1.41 -	attributedialog.h \
    1.42 -	attributewidget.h \
    1.43 -	branchobj.h \
    1.44 -	branchpropwindow.h\
    1.45 -	editxlinkdialog.h \
    1.46 -	exportoofiledialog.h \
    1.47 -	exportxhtmldialog.h\
    1.48 -	exports.h \
    1.49 -	extrainfodialog.h \
    1.50 -	file.h \
    1.51 -	findwindow.h \
    1.52 -	flagobj.h \
    1.53 -	flagrowobj.h \
    1.54 -	floatimageobj.h \
    1.55 -	floatobj.h \
    1.56 -	frameobj.h \
    1.57 -	geometry.h \
    1.58 -	headingobj.h \
    1.59 -	highlighter.h \
    1.60 -	historywindow.h \
    1.61 -	imageobj.h \
    1.62 -	imports.h \
    1.63 -	linkablemapobj.h \
    1.64 -	mainwindow.h \
    1.65 -	mapcenterobj.h \
    1.66 -	mapeditor.h \
    1.67 -	mapobj.h \
    1.68 -	misc.h \
    1.69 -	noteobj.h \
    1.70 -	options.h \
    1.71 -	ornamentedobj.h \
    1.72 -	parser.h \
    1.73 -	process.h \
    1.74 -	selection.h \
    1.75 -	showtextdialog.h\
    1.76 -	simplescripteditor.h\
    1.77 -	texteditor.h \
    1.78 -	version.h \
    1.79 -	vymmodel.h \
    1.80 -	xlinkobj.h \
    1.81 -	xml-base.h \
    1.82 -	xml-vym.h \
    1.83 -	xml-freemind.h \
    1.84 -	xmlobj.h\
    1.85 -	xsltproc.h \
    1.86 -	settings.h \
    1.87 -	warningdialog.h
    1.88 -
    1.89 -SOURCES	+= \
    1.90 -	aboutdialog.cpp \
    1.91 -	animpoint.cpp \
    1.92 -	attribute.cpp \
    1.93 -	attributedelegate.cpp \
    1.94 -	attributedialog.cpp \
    1.95 -	attributewidget.cpp \
    1.96 -	branchobj.cpp \
    1.97 -	branchpropwindow.cpp \
    1.98 -	editxlinkdialog.cpp \
    1.99 -	exportoofiledialog.cpp \
   1.100 -	exports.cpp \
   1.101 -	exportxhtmldialog.cpp \
   1.102 -	extrainfodialog.cpp \
   1.103 -	file.cpp \
   1.104 -	findwindow.cpp \
   1.105 -	flagobj.cpp \
   1.106 -	flagrowobj.cpp \
   1.107 -	floatimageobj.cpp \
   1.108 -	floatobj.cpp \
   1.109 -	frameobj.cpp \
   1.110 -	geometry.cpp \
   1.111 -	headingobj.cpp \
   1.112 -	highlighter.cpp \
   1.113 -	historywindow.cpp \
   1.114 -	imageobj.cpp \
   1.115 -	imports.cpp \
   1.116 -	linkablemapobj.cpp \
   1.117 -	main.cpp \
   1.118 -	mainwindow.cpp \
   1.119 -	mapcenterobj.cpp \
   1.120 -	mapeditor.cpp \
   1.121 -	mapobj.cpp \
   1.122 -	misc.cpp \
   1.123 -	noteobj.cpp \
   1.124 -	options.cpp \
   1.125 -	ornamentedobj.cpp \
   1.126 -	parser.cpp \
   1.127 -	process.cpp \
   1.128 -	selection.cpp \
   1.129 -	showtextdialog.cpp \
   1.130 -	simplescripteditor.cpp \
   1.131 -	texteditor.cpp \
   1.132 -	version.cpp \
   1.133 -	vymmodel.cpp \
   1.134 -	xlinkobj.cpp \
   1.135 -	xml-base.cpp \
   1.136 -	xml-vym.cpp \
   1.137 -	xml-freemind.cpp \
   1.138 -	xmlobj.cpp \
   1.139 -	xsltproc.cpp \
   1.140 -	settings.cpp \
   1.141 -	warningdialog.cpp
   1.142 -
   1.143 -FORMS = \
   1.144 -	attributewidget.ui \
   1.145 -	branchpropwindow.ui \
   1.146 -	exportxhtmldialog.ui \
   1.147 -	extrainfodialog.ui \
   1.148 -	editxlinkdialog.ui \
   1.149 -	historywindow.ui \
   1.150 -	simplescripteditor.ui \
   1.151 -	showtextdialog.ui \
   1.152 -	warningdialog.ui
   1.153 -
   1.154 -win32 {
   1.155 -	HEADERS += mkdtemp.h
   1.156 -	SOURCES += mkdtemp.cpp
   1.157 -	RC_FILE = vym.rc
   1.158 +HEADERS += aboutdialog.h \
   1.159 +    animpoint.h \
   1.160 +    attribute.h \
   1.161 +    attributedelegate.h \
   1.162 +    attributedialog.h \
   1.163 +    attributewidget.h \
   1.164 +    branchobj.h \
   1.165 +    branchpropwindow.h \
   1.166 +    editxlinkdialog.h \
   1.167 +    exportoofiledialog.h \
   1.168 +    exportxhtmldialog.h \
   1.169 +    exports.h \
   1.170 +    extrainfodialog.h \
   1.171 +    file.h \
   1.172 +    findwindow.h \
   1.173 +    flagobj.h \
   1.174 +    flagrowobj.h \
   1.175 +    floatimageobj.h \
   1.176 +    floatobj.h \
   1.177 +    frameobj.h \
   1.178 +    geometry.h \
   1.179 +    headingobj.h \
   1.180 +    highlighter.h \
   1.181 +    historywindow.h \
   1.182 +    imageobj.h \
   1.183 +    imports.h \
   1.184 +    linkablemapobj.h \
   1.185 +    mainwindow.h \
   1.186 +    mapcenterobj.h \
   1.187 +    mapeditor.h \
   1.188 +    mapobj.h \
   1.189 +    misc.h \
   1.190 +    noteobj.h \
   1.191 +    options.h \
   1.192 +    ornamentedobj.h \
   1.193 +    parser.h \
   1.194 +    process.h \
   1.195 +    selection.h \
   1.196 +    showtextdialog.h \
   1.197 +    simplescripteditor.h \
   1.198 +    texteditor.h \
   1.199 +    version.h \
   1.200 +    vymmodel.h \
   1.201 +    xlinkobj.h \
   1.202 +    xml-base.h \
   1.203 +    xml-vym.h \
   1.204 +    xml-freemind.h \
   1.205 +    xmlobj.h \
   1.206 +    xsltproc.h \
   1.207 +    settings.h \
   1.208 +    warningdialog.h \
   1.209 +    win32/stdint.h
   1.210 +SOURCES += aboutdialog.cpp \
   1.211 +    animpoint.cpp \
   1.212 +    attribute.cpp \
   1.213 +    attributedelegate.cpp \
   1.214 +    attributedialog.cpp \
   1.215 +    attributewidget.cpp \
   1.216 +    branchobj.cpp \
   1.217 +    branchpropwindow.cpp \
   1.218 +    editxlinkdialog.cpp \
   1.219 +    exportoofiledialog.cpp \
   1.220 +    exports.cpp \
   1.221 +    exportxhtmldialog.cpp \
   1.222 +    extrainfodialog.cpp \
   1.223 +    file.cpp \
   1.224 +    findwindow.cpp \
   1.225 +    flagobj.cpp \
   1.226 +    flagrowobj.cpp \
   1.227 +    floatimageobj.cpp \
   1.228 +    floatobj.cpp \
   1.229 +    frameobj.cpp \
   1.230 +    geometry.cpp \
   1.231 +    headingobj.cpp \
   1.232 +    highlighter.cpp \
   1.233 +    historywindow.cpp \
   1.234 +    imageobj.cpp \
   1.235 +    imports.cpp \
   1.236 +    linkablemapobj.cpp \
   1.237 +    main.cpp \
   1.238 +    mainwindow.cpp \
   1.239 +    mapcenterobj.cpp \
   1.240 +    mapeditor.cpp \
   1.241 +    mapobj.cpp \
   1.242 +    misc.cpp \
   1.243 +    noteobj.cpp \
   1.244 +    options.cpp \
   1.245 +    ornamentedobj.cpp \
   1.246 +    parser.cpp \
   1.247 +    process.cpp \
   1.248 +    selection.cpp \
   1.249 +    showtextdialog.cpp \
   1.250 +    simplescripteditor.cpp \
   1.251 +    texteditor.cpp \
   1.252 +    version.cpp \
   1.253 +    vymmodel.cpp \
   1.254 +    xlinkobj.cpp \
   1.255 +    xml-base.cpp \
   1.256 +    xml-vym.cpp \
   1.257 +    xml-freemind.cpp \
   1.258 +    xmlobj.cpp \
   1.259 +    xsltproc.cpp \
   1.260 +    settings.cpp \
   1.261 +    warningdialog.cpp
   1.262 +FORMS = attributewidget.ui \
   1.263 +    branchpropwindow.ui \
   1.264 +    exportxhtmldialog.ui \
   1.265 +    extrainfodialog.ui \
   1.266 +    editxlinkdialog.ui \
   1.267 +    historywindow.ui \
   1.268 +    simplescripteditor.ui \
   1.269 +    showtextdialog.ui \
   1.270 +    warningdialog.ui
   1.271 +win32 { 
   1.272 +    HEADERS += mkdtemp.h
   1.273 +    SOURCES += mkdtemp.cpp
   1.274 +    RC_FILE = vym.rc
   1.275  }
   1.276  
   1.277 -#The following lines were inserted by qt3to4
   1.278 +# The following lines were inserted by qt3to4
   1.279  QT += xml
   1.280 -
   1.281 -TARGET  = vym
   1.282 -
   1.283 -
   1.284 -isEmpty( PREFIX ) {
   1.285 -	PREFIX = /usr/local
   1.286 -	count( INSTALLDIR, 1 ) {
   1.287 -		PREFIX = $${INSTALLDIR}
   1.288 -		message( "Please use PREFIX instead of INSTALLDIR" )
   1.289 -	}
   1.290 +TARGET = vym
   1.291 +isEmpty( PREFIX ) { 
   1.292 +    PREFIX = /usr/local
   1.293 +    count( INSTALLDIR, 1 ) { 
   1.294 +        PREFIX = $${INSTALLDIR}
   1.295 +        message( "Please use PREFIX instead of INSTALLDIR" )
   1.296 +    }
   1.297  }
   1.298 -isEmpty( BINDIR ) {
   1.299 -	BINDIR = $${PREFIX}/bin
   1.300 -}
   1.301 -isEmpty( DATADIR ) {
   1.302 -	DATADIR = $${PREFIX}/share
   1.303 -}
   1.304 -isEmpty( DOCDIR ) {
   1.305 -	DOCDIR = $${DATADIR}/doc/packages/vym
   1.306 -}
   1.307 -
   1.308 +isEmpty( BINDIR ):BINDIR = $${PREFIX}/bin
   1.309 +isEmpty( DATADIR ):DATADIR = $${PREFIX}/share
   1.310 +isEmpty( DOCDIR ):DOCDIR = $${DATADIR}/doc/packages/vym
   1.311  message( "Installation directory" )
   1.312  message( $$PREFIX )
   1.313 -
   1.314 -
   1.315  target.path = $${BINDIR}
   1.316  INSTALLS += target
   1.317 -
   1.318 -support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
   1.319 +support.files = styles/ \
   1.320 +    scripts/ \
   1.321 +    icons/ \
   1.322 +    flags/ \
   1.323 +    lang/ \
   1.324 +    macros/ \
   1.325 +    exports/ \
   1.326 +    demos/
   1.327  support.path = $${DATADIR}/vym
   1.328 -INSTALLS += support 
   1.329 -
   1.330 +INSTALLS += support
   1.331  doc.files = doc/vym.pdf
   1.332  doc.path = $${DOCDIR}
   1.333  INSTALLS += doc
   1.334  DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   1.335 -