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