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