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