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