mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
GCS/libqxt: Updated project files for windows.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@544 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
541f80aa33
commit
462b7f6adf
@ -2,7 +2,65 @@
|
||||
# Qxt main project file
|
||||
#
|
||||
#
|
||||
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = src \
|
||||
|
||||
QXT_MODULES = core
|
||||
|
||||
contains( QXT_MODULES, core ){
|
||||
message( building core module )
|
||||
sub_core.subdir = src/core
|
||||
SUBDIRS += sub_core
|
||||
}
|
||||
|
||||
contains( QXT_MODULES, gui ){
|
||||
message( building gui module )
|
||||
sub_gui.subdir = src/gui
|
||||
sub_gui.depends = sub_core
|
||||
SUBDIRS += sub_gui
|
||||
contains( QXT_MODULES, designer ){
|
||||
sub_designer.subdir = src/designer
|
||||
sub_designer.depends = sub_core sub_gui
|
||||
SUBDIRS += sub_designer
|
||||
}
|
||||
}
|
||||
|
||||
contains( QXT_MODULES, network ){
|
||||
message( building network module )
|
||||
sub_network.subdir = src/network
|
||||
sub_network.depends = sub_core
|
||||
SUBDIRS += sub_network
|
||||
}
|
||||
|
||||
contains( QXT_MODULES, sql ){
|
||||
message( building sql module )
|
||||
sub_sql.subdir = src/sql
|
||||
sub_sql.depends = sub_core
|
||||
SUBDIRS += sub_sql
|
||||
}
|
||||
|
||||
contains(DEFINES,HAVE_DB){
|
||||
contains( QXT_MODULES, berkeley ){
|
||||
message( building berkeley module )
|
||||
sub_berkeley.subdir = src/berkeley
|
||||
sub_berkeley.depends = sub_core
|
||||
SUBDIRS += sub_berkeley
|
||||
}
|
||||
}
|
||||
|
||||
contains(DEFINES,HAVE_ZEROCONF){
|
||||
contains( QXT_MODULES, zeroconf ){
|
||||
message( building zeroconf module )
|
||||
sub_zeroconf.subdir = src/zeroconf
|
||||
sub_zeroconf.depends = sub_network
|
||||
SUBDIRS += sub_zeroconf
|
||||
}
|
||||
}
|
||||
|
||||
contains( QXT_MODULES, web ){
|
||||
message( building web module )
|
||||
sub_web.subdir = src/web
|
||||
sub_web.depends = sub_core sub_network
|
||||
SUBDIRS += sub_web
|
||||
}
|
||||
|
||||
|
||||
|
@ -5,6 +5,6 @@ QXT = core
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(berkeley.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
||||
!win32:LIBS += -ldb
|
||||
|
@ -1,8 +1,10 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = QxtCore
|
||||
|
||||
DEFINES += QXTCORE_LIBRARY
|
||||
include(../../../../openpilotgcslibrary.pri)
|
||||
DEFINES += BUILD_QXT
|
||||
|
||||
DEFINES += BUILD_QXT_CORE
|
||||
|
||||
include(core.pri)
|
||||
include(logengines/logengines.pri)
|
||||
|
@ -5,7 +5,7 @@ QXT = core gui
|
||||
CONVENIENCE +=
|
||||
|
||||
include(designer.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
||||
CONFIG += designer plugin
|
||||
target.path = $$[QT_INSTALL_PLUGINS]/designer
|
||||
|
@ -5,7 +5,7 @@ QXT = core
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(gui.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
||||
contains(DEFINES,HAVE_XRANDR){
|
||||
!win32:LIBS += -lXrandr
|
||||
|
@ -5,4 +5,4 @@ QXT = core
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(network.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
@ -5,4 +5,4 @@ QXT = core
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(sql.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
@ -1,3 +0,0 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = core
|
||||
|
@ -5,4 +5,4 @@ QXT = core network
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(web.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
@ -5,7 +5,7 @@ QXT = core network
|
||||
CONVENIENCE += $$CLEAN_TARGET
|
||||
|
||||
include(zeroconf.pri)
|
||||
include(../qxtbase.pri)
|
||||
#include(../qxtbase.pri)
|
||||
|
||||
unix:!macx:LIBS += -ldns_sd
|
||||
!contains(CONFIG,NO_AVAHI): unix:!macx:LIBS += -lavahi-client -lavahi-common
|
||||
|
Loading…
Reference in New Issue
Block a user