Warning, /maui/mauikit-documents/src/code/epub/quazip/quazip.pro is written in an unsupported language. File is not indexed.

0001 TEMPLATE = lib
0002 CONFIG += qt warn_on
0003 QT -= gui
0004 
0005 # The ABI version.
0006 
0007 !win32:VERSION = 1.0.0
0008 
0009 # 1.0.0 is the first stable ABI.
0010 # The next binary incompatible change will be 2.0.0 and so on.
0011 # The existing QuaZIP policy on changing ABI requires to bump the
0012 # major version of QuaZIP itself as well. Note that there may be
0013 # other reasons for chaging the major version of QuaZIP, so
0014 # in case where there is a QuaZIP major version bump but no ABI change,
0015 # the VERSION variable will stay the same.
0016 
0017 # For example:
0018 
0019 # QuaZIP 1.0 is released after some 0.x, keeping binary compatibility.
0020 # VERSION stays 1.0.0.
0021 # Then some binary incompatible change is introduced. QuaZIP goes up to
0022 # 2.0, VERSION to 2.0.0.
0023 # And so on.
0024 
0025 
0026 # This one handles dllimport/dllexport directives.
0027 DEFINES += QUAZIP_BUILD
0028 
0029 # You'll need to define this one manually if using a build system other
0030 # than qmake or using QuaZIP sources directly in your project.
0031 CONFIG(staticlib): DEFINES += QUAZIP_STATIC
0032 
0033 # Input
0034 include(quazip.pri)
0035 
0036 
0037 CONFIG(debug, debug|release) {
0038      mac: TARGET = $$join(TARGET,,,_debug) 
0039      win32: TARGET = $$join(TARGET,,,d)
0040 }
0041 
0042 unix:!symbian {
0043     headers.path=$$PREFIX/include/quazip
0044     headers.files=$$HEADERS
0045     target.path=$$PREFIX/lib/$${LIB_ARCH}
0046     INSTALLS += headers target
0047 
0048         OBJECTS_DIR=.obj
0049         MOC_DIR=.moc
0050         
0051 }
0052 
0053 win32 {
0054     headers.path=$$PREFIX/include/quazip
0055     headers.files=$$HEADERS
0056     target.path=$$PREFIX/lib
0057     INSTALLS += headers target
0058     # workaround for qdatetime.h macro bug
0059     DEFINES += NOMINMAX
0060 }
0061 
0062 
0063 symbian {
0064 
0065     # Note, on Symbian you may run into troubles with LGPL.
0066     # The point is, if your application uses some version of QuaZip,
0067     # and a newer binary compatible version of QuaZip is released, then
0068     # the users of your application must be able to relink it with the
0069     # new QuaZip version. For example, to take advantage of some QuaZip
0070     # bug fixes.
0071 
0072     # This is probably best achieved by building QuaZip as a static
0073     # library and providing linkable object files of your application,
0074     # so users can relink it.
0075 
0076     CONFIG += staticlib
0077     CONFIG += debug_and_release
0078 
0079     LIBS += -lezip
0080 
0081     #Export headers to SDK Epoc32/include directory
0082     exportheaders.sources = $$HEADERS
0083     exportheaders.path = quazip
0084     for(header, exportheaders.sources) {
0085         BLD_INF_RULES.prj_exports += "$$header $$exportheaders.path/$$basename(header)"
0086     }
0087 }