mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
* Use source path and build path instead of relative ones * Unify pre target dependencies in libraries.pri
47 lines
774 B
Prolog
47 lines
774 B
Prolog
include ($$SourceRoot/config.pri)
|
|
include ($$SourceRoot/build.pri)
|
|
|
|
QT += network dbus gui multimedia
|
|
|
|
TARGET = blackinput
|
|
TEMPLATE = lib
|
|
CONFIG += staticlib
|
|
CONFIG += blackmisc
|
|
|
|
INCLUDEPATH += ..
|
|
DEPENDPATH += . ..
|
|
|
|
# PRECOMPILED_HEADER = stdpch.h
|
|
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
|
DEFINES += USING_PCH
|
|
}
|
|
|
|
DEFINES += LOG_IN_FILE
|
|
|
|
HEADERS += *.h
|
|
SOURCES += *.cpp
|
|
|
|
win32 {
|
|
HEADERS += $$PWD/win/*.h
|
|
SOURCES += $$PWD/win/*.cpp
|
|
}
|
|
|
|
unix:!macx {
|
|
HEADERS += $$PWD/linux/*.h
|
|
SOURCES += $$PWD/linux/*.cpp
|
|
}
|
|
|
|
macx {
|
|
HEADERS += $$PWD/osx/*.h
|
|
SOURCES += $$PWD/osx/*.cpp
|
|
OBJECTIVE_SOURCES += $$PWD/osx/*.mm
|
|
}
|
|
|
|
DESTDIR = $$BuildRoot/lib
|
|
DLLDESTDIR = $$BuildRoot/bin
|
|
|
|
OTHER_FILES +=
|
|
RESOURCES +=
|
|
|
|
include ($$SourceRoot/libraries.pri)
|