mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Summary: Only blackcore includes the headers of crashpad. It is therefore not necessary to add this include paths globally for all projects. Reviewers: #swift_pilot_client, kbasan Reviewed By: #swift_pilot_client, kbasan Subscribers: jenkins Differential Revision: https://dev.swift-project.org/D70
60 lines
1.4 KiB
Prolog
60 lines
1.4 KiB
Prolog
load(common_pre)
|
|
|
|
# GUI is required for the matrix classes
|
|
# Network for host info etc.
|
|
QT += network dbus xml multimedia
|
|
|
|
TARGET = blackcore
|
|
TEMPLATE = lib
|
|
CONFIG += blackconfig blackmisc blackinput blacksound precompile_header
|
|
|
|
contains(BLACK_CONFIG, Static) {
|
|
CONFIG += staticlib
|
|
}
|
|
|
|
INCLUDEPATH += ..
|
|
DEPENDPATH += . ..
|
|
|
|
PRECOMPILED_HEADER = pch/pch.h
|
|
|
|
DEFINES += LOG_IN_FILE BUILD_BLACKCORE_LIB
|
|
|
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/crashpad
|
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/mini_chromium
|
|
|
|
HEADERS += *.h
|
|
HEADERS += $$PWD/application/*.h
|
|
HEADERS += $$PWD/audio/*.h
|
|
HEADERS += $$PWD/context/*.h
|
|
HEADERS += $$PWD/data/*.h
|
|
HEADERS += $$PWD/db/*.h
|
|
HEADERS += $$PWD/vatsim/*.h
|
|
|
|
SOURCES += *.cpp
|
|
SOURCES += $$PWD/context/*.cpp
|
|
SOURCES += $$PWD/data/*.cpp
|
|
SOURCES += $$PWD/db/*.cpp
|
|
SOURCES += $$PWD/vatsim/*.cpp
|
|
|
|
LIBS *= -lvatlib
|
|
DESTDIR = $$DestRoot/lib
|
|
DLLDESTDIR = $$DestRoot/bin
|
|
|
|
msvc {
|
|
CONFIG(debug, debug|release): LIBS *= -lcrashpad_clientd -lcrashpad_utild -lbased -lRpcrt4 -lAdvapi32
|
|
CONFIG(release, debug|release): LIBS *= -lcrashpad_client -lcrashpad_util -lbase -lRpcrt4 -lAdvapi32
|
|
}
|
|
macx: LIBS *= -lcrashpad_client -lcrashpad_util -lbase -lbsm -framework Security
|
|
|
|
OTHER_FILES += readme.txt *.xml
|
|
|
|
win32 {
|
|
dlltarget.path = $$PREFIX/bin
|
|
INSTALLS += dlltarget
|
|
} else {
|
|
target.path = $$PREFIX/lib
|
|
INSTALLS += target
|
|
}
|
|
|
|
load(common_post)
|