mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS template. The following additional changes are made: - Removed '_' from all targets and folder names - Aligned parent folder and target name refs #461
This commit is contained in:
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core dbus gui network concurrent xml
|
||||
|
||||
TARGET = simulator_fs9
|
||||
TARGET = simulatorfs9
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin shared
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core dbus concurrent xml
|
||||
|
||||
TARGET = simulator_fscommon
|
||||
TARGET = simulatorfscommon
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += staticlib
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core dbus gui network concurrent xml
|
||||
|
||||
TARGET = simulator_fsx
|
||||
TARGET = simulatorfsx
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin shared
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core widgets dbus network
|
||||
|
||||
TARGET = simulator_fsx_config
|
||||
TARGET = simulatorfsxconfig
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin shared
|
||||
CONFIG += blackmisc blackcore blackgui
|
||||
23
src/plugins/simulator/simulator.pro
Normal file
23
src/plugins/simulator/simulator.pro
Normal file
@@ -0,0 +1,23 @@
|
||||
load(common_pre)
|
||||
|
||||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
|
||||
win32 {
|
||||
if (contains(BLACK_CONFIG, FSX) | contains(BLACK_CONFIG, FS9)) {
|
||||
SUBDIRS += fscommon
|
||||
}
|
||||
|
||||
contains(BLACK_CONFIG, FSX) {
|
||||
SUBDIRS += fsx
|
||||
SUBDIRS += fsxconfig
|
||||
}
|
||||
contains(BLACK_CONFIG, FS9) {
|
||||
SUBDIRS += fs9
|
||||
}
|
||||
}
|
||||
|
||||
contains(BLACK_CONFIG, XPlane) {
|
||||
SUBDIRS += xplane
|
||||
SUBDIRS += xplaneconfig
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "blackmisc/simulation/ownaircraftprovider.h"
|
||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||
#include "blackmisc/pixmap.h"
|
||||
#include "plugins/simulator/xplane_config/simulatorxplaneconfig.h"
|
||||
#include "plugins/simulator/xplaneconfig/simulatorxplaneconfig.h"
|
||||
#include <QDBusConnection>
|
||||
|
||||
class QDBusServiceWatcher;
|
||||
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core dbus network
|
||||
|
||||
TARGET = simulator_xplane
|
||||
TARGET = simulatorxplane
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin shared
|
||||
@@ -2,7 +2,7 @@ load(common_pre)
|
||||
|
||||
QT += core widgets dbus
|
||||
|
||||
TARGET = simulator_xplane_config
|
||||
TARGET = simulatorxplaneconfig
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += plugin shared
|
||||
Reference in New Issue
Block a user