vym.pro
author insilmaril
Mon, 05 May 2008 13:46:42 +0000
changeset 693 07fead1e540b
parent 676 3dabc6424d73
child 702 a02d84c2d0ac
permissions -rw-r--r--
Some code cleanup and experimental stuff to support animations later
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@665
    10
TRANSLATIONS += lang/vym_it.ts
insilmaril@665
    11
TRANSLATIONS += lang/vym_fr.ts
insilmaril@665
    12
TRANSLATIONS += lang/vym_zh_CN.ts
insilmaril@665
    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@388
    77
	warningdialog.h
insilmaril@102
    78
insilmaril@388
    79
SOURCES	+= \
insilmaril@388
    80
	aboutdialog.cpp \
insilmaril@477
    81
	animpoint.cpp \
insilmaril@620
    82
	attribute.cpp \
insilmaril@676
    83
	attributedelegate.cpp \
insilmaril@676
    84
	attributedialog.cpp \
insilmaril@625
    85
	attributewidget.cpp \
insilmaril@105
    86
	branchobj.cpp \
insilmaril@423
    87
	branchpropwindow.cpp \
insilmaril@388
    88
	editxlinkdialog.cpp \
insilmaril@191
    89
	exportoofiledialog.cpp \
insilmaril@0
    90
	exports.cpp \
insilmaril@388
    91
	exportxhtmldialog.cpp \
insilmaril@388
    92
	extrainfodialog.cpp \
insilmaril@179
    93
	file.cpp \
insilmaril@0
    94
	findwindow.cpp \
insilmaril@0
    95
	flagobj.cpp \
insilmaril@0
    96
	flagrowobj.cpp \
insilmaril@0
    97
	floatimageobj.cpp \
insilmaril@0
    98
	floatobj.cpp \
insilmaril@0
    99
	frameobj.cpp \
insilmaril@645
   100
	geometry.cpp \
insilmaril@0
   101
	headingobj.cpp \
insilmaril@434
   102
	highlighter.cpp \
insilmaril@380
   103
	historywindow.cpp \
insilmaril@0
   104
	imageobj.cpp \
insilmaril@205
   105
	imports.cpp \
insilmaril@0
   106
	linkablemapobj.cpp \
insilmaril@0
   107
	main.cpp \
insilmaril@0
   108
	mainwindow.cpp \
insilmaril@0
   109
	mapcenterobj.cpp \
insilmaril@0
   110
	mapeditor.cpp \
insilmaril@0
   111
	mapobj.cpp \
insilmaril@0
   112
	misc.cpp \
insilmaril@0
   113
	noteobj.cpp \
insilmaril@388
   114
	options.cpp \
insilmaril@0
   115
	ornamentedobj.cpp \
insilmaril@432
   116
	parser.cpp \
insilmaril@0
   117
	process.cpp \
insilmaril@486
   118
	selection.cpp \
insilmaril@380
   119
	showtextdialog.cpp \
insilmaril@432
   120
	simplescripteditor.cpp \
insilmaril@0
   121
	texteditor.cpp \
insilmaril@395
   122
	version.cpp \
insilmaril@645
   123
	vymmodel.cpp \
insilmaril@620
   124
	xlinkobj.cpp \
insilmaril@574
   125
	xml-base.cpp \
insilmaril@574
   126
	xml-vym.cpp \
insilmaril@566
   127
	xml-freemind.cpp \
insilmaril@620
   128
	xmlobj.cpp \
insilmaril@205
   129
	xsltproc.cpp \
insilmaril@0
   130
	settings.cpp \
insilmaril@625
   131
	warningdialog.cpp
insilmaril@102
   132
insilmaril@388
   133
FORMS = \
insilmaril@625
   134
	attributewidget.ui \
insilmaril@423
   135
	branchpropwindow.ui \
insilmaril@388
   136
	exportxhtmldialog.ui \
insilmaril@94
   137
	extrainfodialog.ui \
insilmaril@317
   138
	editxlinkdialog.ui \
insilmaril@388
   139
	historywindow.ui \
insilmaril@432
   140
	simplescripteditor.ui \
insilmaril@388
   141
	showtextdialog.ui \
insilmaril@317
   142
	warningdialog.ui
insilmaril@0
   143
insilmaril@625
   144
win32 {
insilmaril@625
   145
	HEADERS += mkdtemp.h
insilmaril@625
   146
	SOURCES += mkdtemp.cpp
insilmaril@625
   147
	RC_FILE = vym.rc
insilmaril@625
   148
}
insilmaril@625
   149
insilmaril@380
   150
#The following lines were inserted by qt3to4
insilmaril@625
   151
QT += xml
insilmaril@366
   152
insilmaril@102
   153
TARGET  = vym
insilmaril@398
   154
insilmaril@102
   155
insilmaril@608
   156
isEmpty( PREFIX ) {
insilmaril@608
   157
	PREFIX = /usr/local
insilmaril@608
   158
	count( INSTALLDIR, 1 ) {
insilmaril@608
   159
		PREFIX = $${INSTALLDIR}
insilmaril@608
   160
		message( "Please use PREFIX instead of INSTALLDIR" )
insilmaril@608
   161
	}
insilmaril@608
   162
}
insilmaril@608
   163
isEmpty( BINDIR ) {
insilmaril@608
   164
	BINDIR = $${PREFIX}/bin
insilmaril@608
   165
}
insilmaril@608
   166
isEmpty( DATADIR ) {
insilmaril@608
   167
	DATADIR = $${PREFIX}/share
insilmaril@608
   168
}
insilmaril@608
   169
isEmpty( DOCDIR ) {
insilmaril@608
   170
	DOCDIR = $${DATADIR}/doc/packages/vym
insilmaril@608
   171
}
insilmaril@608
   172
isEmpty( DEMODIR ) {
insilmaril@608
   173
	DEMODIR = $${DOCDIR}
insilmaril@360
   174
}
insilmaril@360
   175
insilmaril@360
   176
message( "Installation directory" )
insilmaril@608
   177
message( $$PREFIX )
insilmaril@360
   178
insilmaril@360
   179
insilmaril@608
   180
target.path = $${BINDIR}
insilmaril@102
   181
INSTALLS += target
insilmaril@102
   182
insilmaril@447
   183
support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
insilmaril@608
   184
support.path = $${DATADIR}/vym
insilmaril@102
   185
INSTALLS += support 
insilmaril@102
   186
insilmaril@625
   187
doc.files = doc/vym.pdf
insilmaril@608
   188
doc.path = $${DOCDIR}
insilmaril@102
   189
INSTALLS += doc
insilmaril@608
   190
DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
insilmaril@102
   191
insilmaril@102
   192
demo.files = demos/
insilmaril@608
   193
demo.path = $${DEMODIR}
insilmaril@102
   194
INSTALLS += demo