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