Added externals.pri looking for the external headers/libraries in 3 steps:
1. Manually set absolut path. Currently commented. Uncomment for local
use.
2. Enviromental variable "VATSIM_EXTERNAL_DIR"
3. default path client/externals.
This commit is contained in:
Roland Winklmeier
2013-09-21 15:21:32 +02:00
parent 95858559bb
commit 6092cc7193
5 changed files with 69 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
include (../../externals.pri)
QT += core dbus
QT -= gui
@@ -14,14 +16,12 @@ SOURCES += *.cpp
HEADERS += *.h
LIBS += -L../../lib -lblackcore -lblackmisc
LIBS += -L../../../vatlib -lvatlib
LIBS += -lvatlib
win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib \
../../lib/blackcore.lib \
../../../vatlib/vatlib.lib
else: PRE_TARGETDEPS += ../../lib/libblackmisc.a \
../../lib/libblackcore.a \
../../../vatlib/libvatlib.a
#TODO standardize dependency locations
DESTDIR = ../../bin