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