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