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