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 -= qt app_bundle
BASEPATH = ../externals/tinyxml/
include($$PWD/../externals/tinyxml/tinyxml.pri)
include($$PWD/../lib/lib.pri)

View File

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