mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
committed by
Mathew Sutcliffe
parent
34774bd005
commit
1f2a88e502
@@ -1,7 +1,7 @@
|
||||
include (../../externals.pri)
|
||||
|
||||
# GUI is required for the matrix classes
|
||||
QT += network dbus
|
||||
QT += network dbus xml
|
||||
|
||||
TARGET = blackcore
|
||||
TEMPLATE = lib
|
||||
@@ -17,9 +17,24 @@ precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
||||
DEFINES += USING_PCH
|
||||
}
|
||||
|
||||
# Causes nmake to run qdbusxml2cpp to automatically generate the dbus adaptor and interface classes,
|
||||
# then automatically adds them to the sources to compile
|
||||
# !! Make sure the plugin is available as release build and known QT_PLUGIN_PATH
|
||||
# QDBUSXML2CPP_INTERFACE_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h
|
||||
QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h
|
||||
DBUS_ADAPTORS += blackcore.contextnetwork.xml
|
||||
DBUS_ADAPTORS += blackcore.contextsettings.xml
|
||||
|
||||
# DBUS_INTERFACES += blackcore.contextnetwork.xml
|
||||
|
||||
DEFINES += LOG_IN_FILE
|
||||
|
||||
HEADERS += *.h
|
||||
SOURCES += *.cpp
|
||||
|
||||
win32:!win32-g++*: PRE_TARGETDEPS += ../../lib/blackmisc.lib
|
||||
else: PRE_TARGETDEPS += ../../lib/libblackmisc.a
|
||||
|
||||
DESTDIR = ../../lib
|
||||
|
||||
OTHER_FILES += readme.txt blackcore.contextnetwork.xml blackcore.contextsettings.xml
|
||||
|
||||
Reference in New Issue
Block a user