vym.pro
author insilmaril
Thu, 08 Nov 2007 15:28:03 +0000
changeset 620 24bfecc949a0
parent 608 6cdc2e7b1937
child 625 22955004d512
permissions -rw-r--r--
1.11.2 split up of xml helper functions. started to work on attributes
     1 TEMPLATE	= app
     2 LANGUAGE	= C++
     3 
     4 CONFIG	+= qt warn_on release debug
     5 CONFIG += x86 ppc
     6 
     7 # Manifest embedding was suggested by Qt docs somewhere...
     8 win32: CONFIG += embed_manifest_exe
     9 
    10 # Without this, M_PI, and M_PI_2 won't be defined.
    11 win32:DEFINES *= _USE_MATH_DEFINES
    12 
    13 ICON =icons/vym.icns
    14 
    15 QT += qt3support
    16 QT += network
    17 
    18 HEADERS	+= \	
    19 	aboutdialog.h \
    20 	animpoint.h \
    21 	attribute.h \
    22 	branchobj.h \
    23 	branchpropwindow.h\
    24 	editxlinkdialog.h \
    25 	exportoofiledialog.h \
    26 	exportxhtmldialog.h\
    27 	exports.h \
    28 	extrainfodialog.h \
    29 	file.h \
    30 	findwindow.h \
    31 	flagobj.h \
    32 	flagrowobj.h \
    33 	floatimageobj.h \
    34 	floatobj.h \
    35 	frameobj.h \
    36 	headingobj.h \
    37 	highlighter.h \
    38 	historywindow.h \
    39 	imageobj.h \
    40 	imports.h \
    41 	linkablemapobj.h \
    42 	mainwindow.h \
    43 	mapcenterobj.h \
    44 	mapeditor.h \
    45 	mapobj.h \
    46 	misc.h \
    47 	noteobj.h \
    48 	options.h \
    49 	ornamentedobj.h \
    50 	parser.h \
    51 	process.h \
    52 	selection.h \
    53 	showtextdialog.h\
    54 	simplescripteditor.h\
    55 	texteditor.h \
    56 	version.h \
    57 	xlinkobj.h \
    58 	xml-base.h \
    59 	xml-vym.h \
    60 	xml-freemind.h \
    61 	xmlobj.h\
    62 	xsltproc.h \
    63 	settings.h \
    64 	warningdialog.h
    65 
    66 SOURCES	+= \
    67 	aboutdialog.cpp \
    68 	animpoint.cpp \
    69 	attribute.cpp \
    70 	branchobj.cpp \
    71 	branchpropwindow.cpp \
    72 	editxlinkdialog.cpp \
    73 	exportoofiledialog.cpp \
    74 	exports.cpp \
    75 	exportxhtmldialog.cpp \
    76 	extrainfodialog.cpp \
    77 	file.cpp \
    78 	findwindow.cpp \
    79 	flagobj.cpp \
    80 	flagrowobj.cpp \
    81 	floatimageobj.cpp \
    82 	floatobj.cpp \
    83 	frameobj.cpp \
    84 	headingobj.cpp \
    85 	highlighter.cpp \
    86 	historywindow.cpp \
    87 	imageobj.cpp \
    88 	imports.cpp \
    89 	linkablemapobj.cpp \
    90 	main.cpp \
    91 	mainwindow.cpp \
    92 	mapcenterobj.cpp \
    93 	mapeditor.cpp \
    94 	mapobj.cpp \
    95 	misc.cpp \
    96 	noteobj.cpp \
    97 	options.cpp \
    98 	ornamentedobj.cpp \
    99 	parser.cpp \
   100 	process.cpp \
   101 	selection.cpp \
   102 	showtextdialog.cpp \
   103 	simplescripteditor.cpp \
   104 	texteditor.cpp \
   105 	version.cpp \
   106 	xlinkobj.cpp \
   107 	xml-base.cpp \
   108 	xml-vym.cpp \
   109 	xml-freemind.cpp \
   110 	xmlobj.cpp \
   111 	xsltproc.cpp \
   112 	settings.cpp \
   113 	warningdialog.cpp 
   114 
   115 FORMS = \
   116 	branchpropwindow.ui \
   117 	exportxhtmldialog.ui \
   118 	extrainfodialog.ui \
   119 	editxlinkdialog.ui \
   120 	historywindow.ui \
   121 	simplescripteditor.ui \
   122 	showtextdialog.ui \
   123 	warningdialog.ui
   124 
   125 #The following lines were inserted by qt3to4
   126 QT += xml  
   127 
   128 TARGET  = vym
   129 
   130 TRANSLATIONS += lang/vym_de.ts
   131 TRANSLATIONS += lang/vym_en.ts
   132 TRANSLATIONS += lang/vym_es.ts
   133 TRANSLATIONS += lang/vym_it.ts
   134 
   135 isEmpty( PREFIX ) {
   136 	PREFIX = /usr/local
   137 	count( INSTALLDIR, 1 ) {
   138 		PREFIX = $${INSTALLDIR}
   139 		message( "Please use PREFIX instead of INSTALLDIR" )
   140 	}
   141 }
   142 isEmpty( BINDIR ) {
   143 	BINDIR = $${PREFIX}/bin
   144 }
   145 isEmpty( DATADIR ) {
   146 	DATADIR = $${PREFIX}/share
   147 }
   148 isEmpty( DOCDIR ) {
   149 	DOCDIR = $${DATADIR}/doc/packages/vym
   150 }
   151 isEmpty( DEMODIR ) {
   152 	DEMODIR = $${DOCDIR}
   153 }
   154 
   155 message( "Installation directory" )
   156 message( $$PREFIX )
   157 
   158 
   159 target.path = $${BINDIR}
   160 INSTALLS += target
   161 
   162 support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/
   163 support.path = $${DATADIR}/vym
   164 INSTALLS += support 
   165 
   166 doc.files = tex/vym.pdf
   167 doc.path = $${DOCDIR}
   168 INSTALLS += doc
   169 DEFINES += VYM_DOCDIR=\\\"$${DOCDIR}\\\"
   170 
   171 demo.files = demos/
   172 demo.path = $${DEMODIR}
   173 INSTALLS += demo
   174