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