vym.pro
author insilmaril
Mon, 06 Oct 2008 11:10:20 +0000
changeset 726 7f43b93242aa
parent 725 7ea31701156e
child 742 54d44ecd6097
permissions -rw-r--r--
Various fixes, also from 1.12. branch
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@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@676
    30
	attributedelegate.h\
insilmaril@676
    31
	attributedialog.h \
insilmaril@625
    32
	attributewidget.h \
insilmaril@105
    33
	branchobj.h \
insilmaril@423
    34
	branchpropwindow.h\
insilmaril@388
    35
	editxlinkdialog.h \
insilmaril@191
    36
	exportoofiledialog.h \
insilmaril@388
    37
	exportxhtmldialog.h\
insilmaril@0
    38
	exports.h \
insilmaril@388
    39
	extrainfodialog.h \
insilmaril@179
    40
	file.h \
insilmaril@0
    41
	findwindow.h \
insilmaril@0
    42
	flagobj.h \
insilmaril@0
    43
	flagrowobj.h \
insilmaril@0
    44
	floatimageobj.h \
insilmaril@0
    45
	floatobj.h \
insilmaril@0
    46
	frameobj.h \
insilmaril@645
    47
	geometry.h \
insilmaril@0
    48
	headingobj.h \
insilmaril@434
    49
	highlighter.h \
insilmaril@380
    50
	historywindow.h \
insilmaril@0
    51
	imageobj.h \
insilmaril@205
    52
	imports.h \
insilmaril@0
    53
	linkablemapobj.h \
insilmaril@0
    54
	mainwindow.h \
insilmaril@0
    55
	mapcenterobj.h \
insilmaril@0
    56
	mapeditor.h \
insilmaril@0
    57
	mapobj.h \
insilmaril@0
    58
	misc.h \
insilmaril@0
    59
	noteobj.h \
insilmaril@388
    60
	options.h \
insilmaril@0
    61
	ornamentedobj.h \
insilmaril@432
    62
	parser.h \
insilmaril@0
    63
	process.h \
insilmaril@486
    64
	selection.h \
insilmaril@380
    65
	showtextdialog.h\
insilmaril@432
    66
	simplescripteditor.h\
insilmaril@0
    67
	texteditor.h \
insilmaril@0
    68
	version.h \
insilmaril@645
    69
	vymmodel.h \
insilmaril@620
    70
	xlinkobj.h \
insilmaril@574
    71
	xml-base.h \
insilmaril@574
    72
	xml-vym.h \
insilmaril@566
    73
	xml-freemind.h \
insilmaril@620
    74
	xmlobj.h\
insilmaril@205
    75
	xsltproc.h \
insilmaril@0
    76
	settings.h \
insilmaril@725
    77
	treeitem.h \
insilmaril@725
    78
	treemodel.h \
insilmaril@726
    79
	vymview.h \
insilmaril@388
    80
	warningdialog.h
insilmaril@102
    81
insilmaril@388
    82
SOURCES	+= \
insilmaril@388
    83
	aboutdialog.cpp \
insilmaril@477
    84
	animpoint.cpp \
insilmaril@620
    85
	attribute.cpp \
insilmaril@676
    86
	attributedelegate.cpp \
insilmaril@676
    87
	attributedialog.cpp \
insilmaril@625
    88
	attributewidget.cpp \
insilmaril@105
    89
	branchobj.cpp \
insilmaril@423
    90
	branchpropwindow.cpp \
insilmaril@388
    91
	editxlinkdialog.cpp \
insilmaril@191
    92
	exportoofiledialog.cpp \
insilmaril@0
    93
	exports.cpp \
insilmaril@388
    94
	exportxhtmldialog.cpp \
insilmaril@388
    95
	extrainfodialog.cpp \
insilmaril@179
    96
	file.cpp \
insilmaril@0
    97
	findwindow.cpp \
insilmaril@0
    98
	flagobj.cpp \
insilmaril@0
    99
	flagrowobj.cpp \
insilmaril@0
   100
	floatimageobj.cpp \
insilmaril@0
   101
	floatobj.cpp \
insilmaril@0
   102
	frameobj.cpp \
insilmaril@645
   103
	geometry.cpp \
insilmaril@0
   104
	headingobj.cpp \
insilmaril@434
   105
	highlighter.cpp \
insilmaril@380
   106
	historywindow.cpp \
insilmaril@0
   107
	imageobj.cpp \
insilmaril@205
   108
	imports.cpp \
insilmaril@0
   109
	linkablemapobj.cpp \
insilmaril@0
   110
	main.cpp \
insilmaril@0
   111
	mainwindow.cpp \
insilmaril@0
   112
	mapcenterobj.cpp \
insilmaril@0
   113
	mapeditor.cpp \
insilmaril@0
   114
	mapobj.cpp \
insilmaril@0
   115
	misc.cpp \
insilmaril@0
   116
	noteobj.cpp \
insilmaril@388
   117
	options.cpp \
insilmaril@0
   118
	ornamentedobj.cpp \
insilmaril@432
   119
	parser.cpp \
insilmaril@0
   120
	process.cpp \
insilmaril@486
   121
	selection.cpp \
insilmaril@380
   122
	showtextdialog.cpp \
insilmaril@432
   123
	simplescripteditor.cpp \
insilmaril@0
   124
	texteditor.cpp \
insilmaril@725
   125
	treeitem.cpp \
insilmaril@725
   126
	treemodel.cpp \
insilmaril@395
   127
	version.cpp \
insilmaril@645
   128
	vymmodel.cpp \
insilmaril@620
   129
	xlinkobj.cpp \
insilmaril@574
   130
	xml-base.cpp \
insilmaril@574
   131
	xml-vym.cpp \
insilmaril@566
   132
	xml-freemind.cpp \
insilmaril@620
   133
	xmlobj.cpp \
insilmaril@205
   134
	xsltproc.cpp \
insilmaril@0
   135
	settings.cpp \
insilmaril@726
   136
	vymview.cpp \
insilmaril@625
   137
	warningdialog.cpp
insilmaril@102
   138
insilmaril@388
   139
FORMS = \
insilmaril@625
   140
	attributewidget.ui \
insilmaril@423
   141
	branchpropwindow.ui \
insilmaril@388
   142
	exportxhtmldialog.ui \
insilmaril@94
   143
	extrainfodialog.ui \
insilmaril@317
   144
	editxlinkdialog.ui \
insilmaril@388
   145
	historywindow.ui \
insilmaril@432
   146
	simplescripteditor.ui \
insilmaril@388
   147
	showtextdialog.ui \
insilmaril@317
   148
	warningdialog.ui
insilmaril@0
   149
insilmaril@625
   150
win32 {
insilmaril@625
   151
	HEADERS += mkdtemp.h
insilmaril@625
   152
	SOURCES += mkdtemp.cpp
insilmaril@625
   153
	RC_FILE = vym.rc
insilmaril@625
   154
}
insilmaril@625
   155
insilmaril@380
   156
#The following lines were inserted by qt3to4
insilmaril@625
   157
QT += xml
insilmaril@366
   158
insilmaril@102
   159
TARGET  = vym
insilmaril@398
   160
insilmaril@102
   161
insilmaril@608
   162
isEmpty( PREFIX ) {
insilmaril@608
   163
	PREFIX = /usr/local
insilmaril@608
   164
	count( INSTALLDIR, 1 ) {
insilmaril@608
   165
		PREFIX = $${INSTALLDIR}
insilmaril@608
   166
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   167
	}
insilmaril@608
   168
}
insilmaril@608
   169
isEmpty( BINDIR ) {
insilmaril@608
   170
	BINDIR = $${PREFIX}/bin
insilmaril@608
   171
}
insilmaril@608
   172
isEmpty( DATADIR ) {
insilmaril@608
   173
	DATADIR = $${PREFIX}/share
insilmaril@608
   174
}
insilmaril@608
   175
isEmpty( DOCDIR ) {
insilmaril@608
   176
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   177
}
insilmaril@360
   178
insilmaril@360
   179
message( "Installation directory" )
insilmaril@608
   180
message( $$PREFIX )
insilmaril@360
   181
insilmaril@360
   182
insilmaril@608
   183
target.path = $${BINDIR}
insilmaril@102
   184
INSTALLS += target
insilmaril@102
   185
insilmaril@702
   186
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/
insilmaril@608
   187
support.path = $${DATADIR}/vym
insilmaril@102
   188
INSTALLS += support 
insilmaril@102
   189
insilmaril@625
   190
doc.files = doc/vym.pdf
insilmaril@608
   191
doc.path = $${DOCDIR}
insilmaril@102
   192
INSTALLS += doc
insilmaril@608
   193
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   194