Don't use relative paths in tinyxml.pri.

Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
This commit is contained in:
Kimmo Varis 2010-12-18 16:29:58 +02:00
parent b6391b2427
commit a60b933ac7
2 changed files with 7 additions and 6 deletions

View File

@ -6,6 +6,7 @@ OBJECTS_DIR = temp
CONFIG += warn_on CONFIG += warn_on
CONFIG -= qt app_bundle CONFIG -= qt app_bundle
BASEPATH = ../externals/tinyxml/
include($$PWD/../externals/tinyxml/tinyxml.pri) include($$PWD/../externals/tinyxml/tinyxml.pri)
include($$PWD/../lib/lib.pri) include($$PWD/../lib/lib.pri)

View File

@ -1,7 +1,7 @@
HEADERS += ../externals/tinyxml/tinystr.h \ HEADERS += $${BASEPATH}tinystr.h \
../externals/tinyxml/tinyxml.h $${BASEPATH}tinyxml.h
SOURCES += ../externals/tinyxml/tinystr.cpp \ SOURCES += $${BASEPATH}tinystr.cpp \
../externals/tinyxml/tinyxml.cpp \ $${BASEPATH}tinyxml.cpp \
../externals/tinyxml/tinyxmlerror.cpp \ $${BASEPATH}tinyxmlerror.cpp \
../externals/tinyxml/tinyxmlparser.cpp $${BASEPATH}tinyxmlparser.cpp