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