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