diff options
Diffstat (limited to 'libtiled/libtiled.pro')
| -rw-r--r-- | libtiled/libtiled.pro | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libtiled/libtiled.pro b/libtiled/libtiled.pro new file mode 100644 index 0000000..84341d4 --- /dev/null +++ b/libtiled/libtiled.pro @@ -0,0 +1,58 @@ +include(../platformer.pri) + +TEMPLATE = lib +TARGET = tiled +target.path = $${LIBDIR} +INSTALLS += target +macx { + DESTDIR = ../bin/Tiled.app/Contents/Frameworks + QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/ +} else { + DESTDIR = ../lib +} +DLLDESTDIR = .. + +#win32:INCLUDEPATH += $$(QTDIR)/src/3rdparty/zlib +win32:INCLUDEPATH += G:/QtSDK/QtSources/4.8.1/src/3rdparty/zlib +else:LIBS += -lz + +DEFINES += QT_NO_CAST_FROM_ASCII \ + QT_NO_CAST_TO_ASCII +DEFINES += TILED_LIBRARY +contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols +OBJECTS_DIR = .obj +SOURCES += compression.cpp \ + isometricrenderer.cpp \ + layer.cpp \ + map.cpp \ + mapobject.cpp \ + mapreader.cpp \ + maprenderer.cpp \ + mapwriter.cpp \ + objectgroup.cpp \ + orthogonalrenderer.cpp \ + properties.cpp \ + tilelayer.cpp \ + tileset.cpp \ + gidmapper.cpp +HEADERS += compression.h \ + isometricrenderer.h \ + layer.h \ + map.h \ + mapobject.h \ + mapreader.h \ + maprenderer.h \ + mapwriter.h \ + object.h \ + objectgroup.h \ + orthogonalrenderer.h \ + properties.h \ + tile.h \ + tiled_global.h \ + tilelayer.h \ + tileset.h \ + gidmapper.h +macx { + contains(QT_CONFIG, ppc):CONFIG += x86 \ + ppc +} |
