forked from mapeditor/tiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not that useful, but at least it should compile. Fortunately it's still passing. :)
- Loading branch information
Showing
1 changed file
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
include(../src/libtiled/libtiled.pri) | ||
|
||
CONFIG += qtestlib | ||
TEMPLATE = app | ||
DEPENDPATH += . | ||
INCLUDEPATH += . \ | ||
../src | ||
../src/tiled | ||
|
||
macx { | ||
LIBS += -L$$OUT_PWD/../bin/Tiled.app/Contents/Frameworks | ||
} else { | ||
LIBS += -L$$OUT_PWD/../lib | ||
} | ||
|
||
!win32:!macx { | ||
QMAKE_RPATHDIR += \$\$ORIGIN/../lib | ||
|
||
# It is not possible to use ORIGIN in QMAKE_RPATHDIR, so a bit manually | ||
QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$$join(QMAKE_RPATHDIR, ":")\' | ||
QMAKE_RPATHDIR = | ||
} | ||
|
||
# Input | ||
SOURCES += test_tmxmapreader.cpp | ||
|
||
# Tiled sources to include in the test binary | ||
SOURCES += ../src/map.cpp \ | ||
../src/mapobject.cpp \ | ||
../src/layer.cpp \ | ||
../src/tilelayer.cpp \ | ||
../src/objectgroup.cpp \ | ||
../src/tilesetmanager.cpp \ | ||
../src/tileset.cpp \ | ||
../src/compression.cpp \ | ||
../src/tmxmapreader.cpp | ||
SOURCES += ../src/tiled/tilesetmanager.cpp \ | ||
../src/tiled/compression.cpp \ | ||
../src/tiled/tmxmapreader.cpp | ||
HEADERS += ../src/tiled/tilesetmanager.h |