qgroundcontrol.pro 54.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
################################################################################
#
# (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
#
# QGroundControl is licensed according to the terms in the file
# COPYING.md in the root of the source code directory.
#
################################################################################

QMAKE_PROJECT_DEPTH = 0 # undocumented qmake flag to force absolute paths in makefiles
11

12 13 14
# These are disabled until proven correct
DEFINES += QGC_GST_TAISYNC_DISABLED
DEFINES += QGC_GST_MICROHARD_DISABLED
15

dogmaphobic's avatar
dogmaphobic committed
16
exists($${OUT_PWD}/qgroundcontrol.pro) {
17
    error("You must use shadow build (e.g. mkdir build; cd build; qmake ../qgroundcontrol.pro).")
dogmaphobic's avatar
dogmaphobic committed
18
}
19 20 21

message(Qt version $$[QT_VERSION])

22 23
!equals(QT_MAJOR_VERSION, 5) | !greaterThan(QT_MINOR_VERSION, 10) {
    error("Unsupported Qt version, 5.11+ is required")
24
}
25

26 27
include(QGCCommon.pri)

Daniel Agar's avatar
Daniel Agar committed
28
TARGET   = QGroundControl
29
TEMPLATE = app
30
QGCROOT  = $$PWD
31 32 33

DebugBuild {
    DESTDIR  = $${OUT_PWD}/debug
34
    DEFINES += DEBUG
35
    #DEFINES += SNAKE_SHOW_TIME
36
    #DEFINES += SNAKE_DEBUG
37
    DEFINES += SNAKE_SHOW_TIME
38
    DEFINES += DEBUG_CIRCULAR_SURVEY
39
    DEFINES += ROS_BRIDGE_DEBUG
40 41
}
else {
42
    DESTDIR  = $${OUT_PWD}/release
43
    #DEFINES += ROS_BRIDGE_DEBUG
44 45
    DEFINES += SNAKE_SHOW_TIME
    #DEFINES += SNAKE_DEBUG
46
    DEFINES += NDEBUG
47 48
}

49 50
QML_IMPORT_PATH += $$PWD/src/QmlControls

51 52 53 54 55 56
#
# OS Specific settings
#

MacBuild {
    QMAKE_INFO_PLIST    = Custom-Info.plist
57
    ICON                = $${SOURCE_DIR}/resources/icons/macx.icns
58
    OTHER_FILES        += Custom-Info.plist
59
    LIBS               += -framework ApplicationServices
60 61 62 63 64 65 66 67
}

LinuxBuild {
    CONFIG  += qesp_linux_udev
}

WindowsBuild {
    RC_ICONS = resources/icons/qgroundcontrol.ico
68
    CONFIG += resources_big
69 70
}

71 72 73 74
#
# Branding
#

75 76 77
QGC_APP_NAME        = "QGroundControl"
QGC_ORG_NAME        = "QGroundControl.org"
QGC_ORG_DOMAIN      = "org.qgroundcontrol"
78
QGC_APP_DESCRIPTION = "Open source ground control app provided by QGroundControl dev team"
79
QGC_APP_COPYRIGHT   = "Copyright (C) 2019 QGroundControl Development Team. All rights reserved."
80

81
WindowsBuild {
82 83
    QGC_INSTALLER_ICON          = "$$SOURCE_DIR\\WindowsQGC.ico"
    QGC_INSTALLER_HEADER_BITMAP = "$$SOURCE_DIR\\installheader.bmp"
84
}
85

86 87 88 89 90 91
# Load additional config flags from user_config.pri
exists(user_config.pri):infile(user_config.pri, CONFIG) {
    CONFIG += $$fromfile(user_config.pri, CONFIG)
    message($$sprintf("Using user-supplied additional config: '%1' specified in user_config.pri", $$fromfile(user_config.pri, CONFIG)))
}

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
#
# Custom Build
#
# QGC will create a "CUSTOMCLASS" object (exposed by your custom build
# and derived from QGCCorePlugin).
# This is the start of allowing custom Plugins, which will eventually use a
# more defined runtime plugin architecture and not require a QGC project
# file you would have to keep in sync with the upstream repo.
#

# This allows you to ignore the custom build even if the custom build
# is present. It's useful to run "regular" builds to make sure you didn't
# break anything.

contains (CONFIG, QGC_DISABLE_CUSTOM_BUILD) {
    message("Disable custom build override")
} else {
    exists($$PWD/custom/custom.pri) {
        message("Found custom build")
        CONFIG  += CustomBuild
        DEFINES += QGC_CUSTOM_BUILD
        # custom.pri must define:
        # CUSTOMCLASS  = YourIQGCCorePluginDerivation
        # CUSTOMHEADER = \"\\\"YourIQGCCorePluginDerivation.h\\\"\"
        include($$PWD/custom/custom.pri)
    }
}

120 121 122 123 124 125 126 127
WindowsBuild {
    # Sets up application properties
    QMAKE_TARGET_COMPANY        = "$${QGC_ORG_NAME}"
    QMAKE_TARGET_DESCRIPTION    = "$${QGC_APP_DESCRIPTION}"
    QMAKE_TARGET_COPYRIGHT      = "$${QGC_APP_COPYRIGHT}"
    QMAKE_TARGET_PRODUCT        = "$${QGC_APP_NAME}"
}

128 129 130 131 132 133 134 135 136 137 138 139
#-------------------------------------------------------------------------------------
# iOS

iOSBuild {
    contains (CONFIG, DISABLE_BUILTIN_IOS) {
        message("Skipping builtin support for iOS")
    } else {
        LIBS                 += -framework AVFoundation
        #-- Info.plist (need an "official" one for the App Store)
        ForAppStore {
            message(App Store Build)
            #-- Create official, versioned Info.plist
140
            APP_STORE = $$system(cd $${SOURCE_DIR} && $${SOURCE_DIR}/tools/update_ios_version.sh $${SOURCE_DIR}/ios/iOSForAppStore-Info-Source.plist $${SOURCE_DIR}/ios/iOSForAppStore-Info.plist)
141 142 143 144 145
            APP_ERROR = $$find(APP_STORE, "Error")
            count(APP_ERROR, 1) {
                error("Error building .plist file. 'ForAppStore' builds are only possible through the official build system.")
            }
            QT               += qml-private
146 147
            QMAKE_INFO_PLIST  = $${SOURCE_DIR}/ios/iOSForAppStore-Info.plist
            OTHER_FILES      += $${SOURCE_DIR}/ios/iOSForAppStore-Info.plist
148
        } else {
149 150
            QMAKE_INFO_PLIST  = $${SOURCE_DIR}/ios/iOS-Info.plist
            OTHER_FILES      += $${SOURCE_DIR}/ios/iOS-Info.plist
151 152 153 154 155 156 157
        }
        QMAKE_ASSET_CATALOGS += ios/Images.xcassets
        BUNDLE.files          = ios/QGCLaunchScreen.xib $$QMAKE_INFO_PLIST
        QMAKE_BUNDLE_DATA    += BUNDLE
    }
}

Gus Grubba's avatar
Gus Grubba committed
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
#
# Plugin configuration
#
# This allows you to build custom versions of QGC which only includes your
# specific vehicle plugin. To remove support for a firmware type completely,
# disable both the Plugin and PluginFactory entries. To include custom support
# for an existing plugin type disable PluginFactory only. Then provide you own
# implementation of FirmwarePluginFactory and use the FirmwarePlugin and
# AutoPilotPlugin classes as the base clase for your derived plugin
# implementation.

contains (CONFIG, QGC_DISABLE_APM_PLUGIN) {
    message("Disable APM Plugin")
} else {
    CONFIG += APMFirmwarePlugin
}

contains (CONFIG, QGC_DISABLE_APM_PLUGIN_FACTORY) {
    message("Disable APM Plugin Factory")
} else {
    CONFIG += APMFirmwarePluginFactory
}

contains (CONFIG, QGC_DISABLE_PX4_PLUGIN) {
    message("Disable PX4 Plugin")
} else {
    CONFIG += PX4FirmwarePlugin
}

contains (CONFIG, QGC_DISABLE_PX4_PLUGIN_FACTORY) {
    message("Disable PX4 Plugin Factory")
} else {
    CONFIG += PX4FirmwarePluginFactory
}

dogmaphobic's avatar
dogmaphobic committed
193 194 195 196 197 198 199 200 201 202 203 204
# Bluetooth
contains (DEFINES, QGC_DISABLE_BLUETOOTH) {
    message("Skipping support for Bluetooth (manual override from command line)")
    DEFINES -= QGC_ENABLE_BLUETOOTH
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_BLUETOOTH) {
    message("Skipping support for Bluetooth (manual override from user_config.pri)")
    DEFINES -= QGC_ENABLE_BLUETOOTH
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_ENABLE_BLUETOOTH) {
    message("Including support for Bluetooth (manual override from user_config.pri)")
    DEFINES += QGC_ENABLE_BLUETOOTH
}

205 206 207 208 209 210 211 212 213 214 215 216
# QTNFC
contains (DEFINES, QGC_DISABLE_QTNFC) {
    message("Skipping support for QTNFC (manual override from command line)")
    DEFINES -= QGC_ENABLE_QTNFC
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_QTNFC) {
    message("Skipping support for QTNFC (manual override from user_config.pri)")
    DEFINES -= QGC_ENABLE_QTNFC
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_ENABLE_QTNFC) {
    message("Including support for QTNFC (manual override from user_config.pri)")
    DEFINES += QGC_ENABLE_QTNFC
}

217 218 219
# USB Camera and UVC Video Sources
contains (DEFINES, QGC_DISABLE_UVC) {
    message("Skipping support for UVC devices (manual override from command line)")
220
    DEFINES += QGC_DISABLE_UVC
221 222
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_UVC) {
    message("Skipping support for UVC devices (manual override from user_config.pri)")
223
    DEFINES += QGC_DISABLE_UVC
dogmaphobic's avatar
dogmaphobic committed
224 225 226 227 228
} else:LinuxBuild {
    contains(QT_VERSION, 5.5.1) {
        message("Skipping support for UVC devices (conflict with Qt 5.5.1 on Ubuntu)")
        DEFINES += QGC_DISABLE_UVC
    }
229 230
}

231 232 233 234 235 236 237
LinuxBuild {
    CONFIG += link_pkgconfig
}

# Qt configuration

CONFIG += qt \
238
    thread \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
239
    c++14
240 241 242 243 244 245

DebugBuild {
    CONFIG -= qtquickcompiler
} else {
    CONFIG += qtquickcompiler
}
246 247 248 249 250 251

contains(DEFINES, ENABLE_VERBOSE_OUTPUT) {
    message("Enable verbose compiler output (manual override from command line)")
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, ENABLE_VERBOSE_OUTPUT) {
    message("Enable verbose compiler output (manual override from user_config.pri)")
} else {
252
    CONFIG += silent
253
}
254 255 256 257 258

QT += \
    concurrent \
    gui \
    location \
259
    network \
260 261 262 263
    opengl \
    positioning \
    qml \
    quick \
264
    quickcontrols2 \
265 266 267 268
    quickwidgets \
    sql \
    svg \
    widgets \
269
    xml \
270 271
    texttospeech \
    core-private
272 273 274 275 276 277

# Multimedia only used if QVC is enabled
!contains (DEFINES, QGC_DISABLE_UVC) {
    QT += \
        multimedia
}
278

279 280 281 282 283 284
AndroidBuild || iOSBuild {
    # Android and iOS don't unclude these
} else {
    QT += \
        printsupport \
        serialport \
285 286
}

dogmaphobic's avatar
dogmaphobic committed
287
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
dogmaphobic's avatar
dogmaphobic committed
288 289 290 291
QT += \
    bluetooth \
}

292 293 294 295 296
contains(DEFINES, QGC_ENABLE_QTNFC) {
QT += \
    nfc \
}

297 298
#  testlib is needed even in release flavor for QSignalSpy support
QT += testlib
299 300 301 302
ReleaseBuild {
    # We don't need the testlib console in release mode
    QT.testlib.CONFIG -= console
}
303

304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
#
# Build-specific settings
#

DebugBuild {
!iOSBuild {
    CONFIG += console
}
}

#
# Our QtLocation "plugin"
#

include(src/QtLocationPlugin/QGCLocationPlugin.pri)

320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
# Until pairing can be made to work cleanly on all OS it is turned off
DEFINES+=QGC_DISABLE_PAIRING

# Pairing
contains (DEFINES, QGC_DISABLE_PAIRING) {
    message("Skipping support for Pairing")
} else:exists(user_config.pri):infile(user_config.pri, DEFINES, QGC_DISABLE_PAIRING) {
    message("Skipping support for Pairing (manual override from user_config.pri)")
} else:AndroidBuild:contains(QT_ARCH, arm64) {
    # Haven't figured out how to get 64 bit arm OpenSLL yet which pairing requires
    message("Skipping support for Pairing (Missing Android OpenSSL 64 bit support)")
} else {
    message("Enabling support for Pairing")
    DEFINES += QGC_ENABLE_PAIRING
}

336 337 338 339 340 341 342
#
# External library configuration
#

include(QGCExternalLibs.pri)

#
343
# Resources (custom code can replace them)
344 345
#

346 347 348 349 350 351 352 353 354 355 356 357 358
CustomBuild {
    exists($$PWD/custom/qgroundcontrol.qrc) {
        message("Using custom qgroundcontrol.qrc")
        RESOURCES += $$PWD/custom/qgroundcontrol.qrc
    } else {
        RESOURCES += $$PWD/qgroundcontrol.qrc
    }
    exists($$PWD/custom/qgcresources.qrc) {
        message("Using custom qgcresources.qrc")
        RESOURCES += $$PWD/custom/qgcresources.qrc
    } else {
        RESOURCES += $$PWD/qgcresources.qrc
    }
359 360 361 362 363 364 365 366 367 368 369 370
    exists($$PWD/custom/qgcimages.qrc) {
        message("Using custom qgcimages.qrc")
        RESOURCES += $$PWD/custom/qgcimages.qrc
    } else {
        RESOURCES += $$PWD/qgcimages.qrc
    }
    exists($$PWD/custom/InstrumentValueIcons.qrc) {
        message("Using custom InstrumentValueIcons.qrc")
        RESOURCES += $$PWD/custom/InstrumentValueIcons.qrc
    } else {
        RESOURCES += $$PWD/resources/InstrumentValueIcons/InstrumentValueIcons.qrc
    }
371
} else {
372 373 374
    DEFINES += QGC_APPLICATION_NAME=\"\\\"QGCWima\\\"\"
    DEFINES += QGC_ORG_NAME=\"\\\"QGCWima.org\\\"\"
    DEFINES += QGC_ORG_DOMAIN=\"\\\"org.qgcwima\\\"\"
375 376
    RESOURCES += \
        $$PWD/qgroundcontrol.qrc \
377 378 379
        $$PWD/qgcresources.qrc \
        $$PWD/qgcimages.qrc \
        $$PWD/resources/InstrumentValueIcons/InstrumentValueIcons.qrc \
380 381
}

382 383 384
#
# Main QGroundControl portion of project file
#
385

386 387 388 389 390
DebugBuild {
    # Unit Test resources
    RESOURCES += UnitTest.qrc
}

391 392 393 394 395 396 397 398 399
DEPENDPATH += \
    . \
    plugins

INCLUDEPATH += .

INCLUDEPATH += \
    include/ui \
    src \
400
    src/ADSB \
401
    src/api \
Don Gagne's avatar
Don Gagne committed
402
    src/AnalyzeView \
403
    src/Camera \
404 405 406
    src/AutoPilotPlugins \
    src/FlightDisplay \
    src/FlightMap \
407
    src/FlightMap/Widgets \
Jimmy Johnson's avatar
Jimmy Johnson committed
408
    src/FollowMe \
409
    src/Geo \
410
    src/GPS \
Gus Grubba's avatar
Gus Grubba committed
411
    src/Joystick \
412
    src/PlanView \
413
    src/MissionManager \
Gus Grubba's avatar
Gus Grubba committed
414
    src/PositionManager \
415
    src/QmlControls \
Gus Grubba's avatar
Gus Grubba committed
416 417
    src/QtLocationPlugin \
    src/QtLocationPlugin/QMLControl \
418
    src/Settings \
419
    src/Wima/Snake \
420
    src/Terrain \
421
    src/Vehicle \
422
    src/Audio \
Gus Grubba's avatar
Gus Grubba committed
423
    src/comm \
424
    src/comm/ros_bridge \
Gus Grubba's avatar
Gus Grubba committed
425 426
    src/input \
    src/lib/qmapcontrol \
427 428 429 430 431 432 433 434 435 436
    src/uas \
    src/ui \
    src/ui/linechart \
    src/ui/map \
    src/ui/mapdisplay \
    src/ui/mission \
    src/ui/px4_configuration \
    src/ui/toolbar \
    src/ui/uas \

437 438 439
contains (DEFINES, QGC_ENABLE_PAIRING) {
    INCLUDEPATH += \
        src/PairingManager \
440 441
}

Gus Grubba's avatar
Gus Grubba committed
442 443 444 445 446
#
# Plugin API
#

HEADERS += \
447 448
    src/QmlControls/QmlUnitsConversion.h \
    src/Vehicle/VehicleEscStatusFactGroup.h \
449
    src/Wima/CircularSurvey.h \
450
    src/Wima/GenericSingelton.h \
451
    src/Wima/Geometry/GenericCircle.h \
452
    src/Wima/RoutingThread.h \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
453 454
    src/Wima/Snake/CircularGenerator.h \
    src/Wima/Snake/GeneratorBase.h \
455
    src/Wima/Snake/LinearGenerator.h \
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477
    src/Wima/Snake/clipper/clipper.hpp \
    src/Wima/Snake/mapbox/feature.hpp \
    src/Wima/Snake/mapbox/geometry.hpp \
    src/Wima/Snake/mapbox/geometry/box.hpp \
    src/Wima/Snake/mapbox/geometry/empty.hpp \
    src/Wima/Snake/mapbox/geometry/envelope.hpp \
    src/Wima/Snake/mapbox/geometry/for_each_point.hpp \
    src/Wima/Snake/mapbox/geometry/geometry.hpp \
    src/Wima/Snake/mapbox/geometry/line_string.hpp \
    src/Wima/Snake/mapbox/geometry/multi_line_string.hpp \
    src/Wima/Snake/mapbox/geometry/multi_point.hpp \
    src/Wima/Snake/mapbox/geometry/multi_polygon.hpp \
    src/Wima/Snake/mapbox/geometry/point.hpp \
    src/Wima/Snake/mapbox/geometry/point_arithmetic.hpp \
    src/Wima/Snake/mapbox/geometry/polygon.hpp \
    src/Wima/Snake/mapbox/geometry_io.hpp \
    src/Wima/Snake/mapbox/optional.hpp \
    src/Wima/Snake/mapbox/polylabel.hpp \
    src/Wima/Snake/mapbox/recursive_wrapper.hpp \
    src/Wima/Snake/mapbox/variant.hpp \
    src/Wima/Snake/mapbox/variant_io.hpp \
    src/Wima/Snake/snake.h \
478 479
    src/Wima/Geometry/GenericPolygon.h \
    src/Wima/Geometry/GenericPolygonArray.h \
480
    src/Wima/Geometry/GeoPoint3D.h \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
481
    src/Wima/Snake/NemoInterface.h \
482
    src/Wima/Snake/QNemoHeartbeat.h \
483
    src/Wima/Snake/QNemoProgress.h \
484
    src/Wima/Snake/QNemoProgress.h \
485 486
    src/Wima/Snake/SnakeTile.h \
    src/Wima/Snake/SnakeTileLocal.h \
487 488
    src/Wima/Snake/SnakeTiles.h \
    src/Wima/Snake/SnakeTilesLocal.h \
489
    src/Wima/StateMachine.h \
490 491
    src/Wima/WaypointManager/AreaInterface.h \
    src/Wima/WaypointManager/DefaultManager.h \
492
    src/Wima/WaypointManager/EmptyManager.h \
493
    src/Wima/WaypointManager/GenericWaypointManager.h \
494
    src/Wima/WaypointManager/RTLManager.h \
495
    src/Wima/WaypointManager/Settings.h \
496
    src/Wima/WaypointManager/Slicer.h \
497
    src/Wima/WaypointManager/Utils.h \
498
    src/Wima/WimaBridge.h \
499
    src/Wima/call_once.h \
500 501
    src/api/QGCCorePlugin.h \
    src/api/QGCOptions.h \
Gus Grubba's avatar
Gus Grubba committed
502
    src/api/QGCSettings.h \
503
    src/api/QmlComponentInfo.h \
504
    src/GPS/Drivers/src/base_station.h \
505 506 507
    src/Wima/Geometry/WimaArea.h \
    src/Wima/Geometry/WimaServiceArea.h \
    src/Wima/Geometry/WimaTrackerPolyline.h \
508
    src/Wima/WimaController.h \
509
    src/Wima/WimaPlaner.h \
510 511 512 513 514 515
    src/Wima/Geometry/WimaMeasurementArea.h \
    src/Wima/Geometry/WimaCorridor.h \
    src/Wima/Geometry/WimaAreaData.h \
    src/Wima/Geometry/WimaServiceAreaData.h \
    src/Wima/Geometry/WimaCorridorData.h \
    src/Wima/Geometry/WimaMeasurementAreaData.h \
516
    src/Wima/WimaPlanData.h \
517 518 519 520
    src/Wima/Geometry/WimaJoinedArea.h \
    src/Wima/Geometry/WimaJoinedAreaData.h \
    src/Wima/Geometry/PlanimetryCalculus.h \
    src/Wima/Geometry/PolygonCalculus.h \
521
    src/Wima/OptimisationTools.h \
522 523 524
    src/Wima/Geometry/GeoUtilities.h \
    src/Wima/Geometry/TestPolygonCalculus.h \
    src/Wima/Geometry/testplanimetrycalculus.h \
525
    src/Settings/WimaSettings.h \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
526
    src/comm/ros_bridge/include/RosBridgeClient.h \
527 528 529 530 531 532 533 534 535 536 537
    src/comm/ros_bridge/include/com_private.h \
    src/comm/ros_bridge/include/message_traits.h \
    src/comm/ros_bridge/include/messages/geographic_msgs/geopoint.h \
    src/comm/ros_bridge/include/messages/geometry_msgs/point32.h \
    src/comm/ros_bridge/include/messages/geometry_msgs/polygon.h \
    src/comm/ros_bridge/include/messages/geometry_msgs/polygon_stamped.h \
    src/comm/ros_bridge/include/messages/jsk_recognition_msgs/polygon_array.h \
    src/comm/ros_bridge/include/messages/nemo_msgs/heartbeat.h \
    src/comm/ros_bridge/include/messages/nemo_msgs/progress.h \
    src/comm/ros_bridge/include/messages/std_msgs/header.h \
    src/comm/ros_bridge/include/server.h \
538
    src/comm/ros_bridge/include/messages/std_msgs/time.h \
539 540
    src/comm/ros_bridge/include/topic_publisher.h \
    src/comm/ros_bridge/include/topic_subscriber.h \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
541
    src/comm/utilities.h
542 543 544 545 546 547

contains (DEFINES, QGC_ENABLE_PAIRING) {
    HEADERS += \
        src/PairingManager/aes.h
}

548
SOURCES += \
549 550 551 552 553
    src/Vehicle/VehicleEscStatusFactGroup.cc \
    src/api/QGCCorePlugin.cc \
    src/api/QGCOptions.cc \
    src/api/QGCSettings.cc \
    src/api/QmlComponentInfo.cc \
554
    src/Wima/CircularSurvey.cc \
555
    src/Wima/GenericSingelton.cpp \
556
    src/Wima/RoutingThread.cpp \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
557 558
    src/Wima/Snake/CircularGenerator.cpp \
    src/Wima/Snake/GeneratorBase.cc \
559
    src/Wima/Snake/LinearGenerator.cpp \
560 561
    src/Wima/Snake/clipper/clipper.cpp \
    src/Wima/Snake/snake.cpp \
562
    src/Wima/Geometry/GeoPoint3D.cpp \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
563
    src/Wima/Snake/NemoInterface.cpp \
564
    src/Wima/Snake/QNemoProgress.cc \
565
    src/Wima/Snake/SnakeTile.cpp \
566
    src/Wima/StateMachine.cpp \
567 568
    src/Wima/WaypointManager/AreaInterface.cpp \
    src/Wima/WaypointManager/DefaultManager.cpp \
569
    src/Wima/WaypointManager/EmptyManager.cpp \
570
    src/Wima/WaypointManager/GenericWaypointManager.cpp \
571
    src/Wima/WaypointManager/RTLManager.cpp \
572
    src/Wima/WaypointManager/Settings.cpp \
573
    src/Wima/WaypointManager/Slicer.cpp \
574
    src/Wima/WaypointManager/Utils.cpp \
575
    src/Wima/WimaBridge.cc \
576
    src/comm/ros_bridge/include/RosBridgeClient.cpp \
577
    src/comm/ros_bridge/include/com_private.cpp \
578 579 580 581 582 583 584
    src/comm/ros_bridge/include/messages/geographic_msgs/geopoint.cpp \
    src/comm/ros_bridge/include/messages/geometry_msgs/point32.cpp \
    src/comm/ros_bridge/include/messages/geometry_msgs/polygon.cpp \
    src/comm/ros_bridge/include/messages/geometry_msgs/polygon_stamped.cpp \
    src/comm/ros_bridge/include/messages/jsk_recognition_msgs/polygon_array.cpp \
    src/comm/ros_bridge/include/messages/nemo_msgs/heartbeat.cpp \
    src/comm/ros_bridge/include/messages/nemo_msgs/progress.cpp \
Valentin Platzgummer's avatar
Valentin Platzgummer committed
585
    src/comm/ros_bridge/include/messages/std_msgs/header.cpp \
586
    src/comm/ros_bridge/include/messages/std_msgs/time.cpp \
587 588 589
    src/comm/ros_bridge/include/server.cpp \
    src/comm/ros_bridge/include/topic_publisher.cpp \
    src/comm/ros_bridge/include/topic_subscriber.cpp \
590 591 592
    src/Wima/Geometry/WimaArea.cc \
    src/Wima/Geometry/WimaServiceArea.cc \
    src/Wima/Geometry/WimaTrackerPolyline.cc \
593
    src/Wima/WimaController.cc \
594
    src/Wima/WimaPlaner.cc \
595 596 597 598 599
    src/Wima/Geometry/WimaMeasurementArea.cc \
    src/Wima/Geometry/WimaCorridor.cc \
    src/Wima/Geometry/WimaAreaData.cc \
    src/Wima/Geometry/WimaServiceAreaData.cc \
    src/Wima/Geometry/WimaCorridorData.cpp \
600
    src/Wima/WimaPlanData.cc \
601 602 603 604
    src/Wima/Geometry/WimaMeasurementAreaData.cc \
    src/Wima/Geometry/WimaJoinedArea.cc \
    src/Wima/Geometry/WimaJoinedAreaData.cc \
    src/Wima/Geometry/PlanimetryCalculus.cc \
605
    src/Wima/OptimisationTools.cc \
606 607 608 609
    src/Wima/Geometry/GeoUtilities.cc \
    src/Wima/Geometry/PolygonCalculus.cc \
    src/Wima/Geometry/TestPolygonCalculus.cpp \
    src/Wima/Geometry/testplanimetrycalculus.cpp \
610
    src/Settings/WimaSettings.cc \
611
    src/comm/ros_bridge/src/ros_bridge.cpp
Gus Grubba's avatar
Gus Grubba committed
612

613 614 615 616 617
contains (DEFINES, QGC_ENABLE_PAIRING) {
    SOURCES += \
        src/PairingManager/aes.cpp
}

618 619 620 621
#
# Unit Test specific configuration goes here (requires full debug build with all plugins)
#

622
DebugBuild { PX4FirmwarePlugin { PX4FirmwarePluginFactory { APMFirmwarePlugin { APMFirmwarePluginFactory { !MobileBuild {
623 624 625 626 627 628
    DEFINES += UNITTEST_BUILD

    INCLUDEPATH += \
        src/qgcunittest

    HEADERS += \
629
        src/Audio/AudioOutputTest.h \
630 631 632 633
        src/FactSystem/FactSystemTestBase.h \
        src/FactSystem/FactSystemTestGeneric.h \
        src/FactSystem/FactSystemTestPX4.h \
        src/FactSystem/ParameterManagerTest.h \
634
        src/MissionManager/CameraCalcTest.h \
635
        src/MissionManager/CameraSectionTest.h \
636
        src/MissionManager/CorridorScanComplexItemTest.h \
637
        src/MissionManager/FWLandingPatternTest.h \
638 639
        src/MissionManager/LandingComplexItemTest.h \
        src/MissionManager/MissionCommandTreeEditorTest.h \
640 641
        src/MissionManager/MissionCommandTreeTest.h \
        src/MissionManager/MissionControllerManagerTest.h \
Gus Grubba's avatar
Gus Grubba committed
642
        src/MissionManager/MissionControllerTest.h \
643 644
        src/MissionManager/MissionItemTest.h \
        src/MissionManager/MissionManagerTest.h \
645
        src/MissionManager/MissionSettingsTest.h \
646
        src/MissionManager/PlanMasterControllerTest.h \
647
        src/MissionManager/QGCMapPolygonTest.h \
648
        src/MissionManager/QGCMapPolylineTest.h \
649
        src/MissionManager/SectionTest.h \
650
        src/MissionManager/SimpleMissionItemTest.h \
651
        src/MissionManager/SpeedSectionTest.h \
652
        src/MissionManager/StructureScanComplexItemTest.h \
653
        src/MissionManager/SurveyComplexItemTest.h \
654
        src/MissionManager/TransectStyleComplexItemTest.h \
655
        src/MissionManager/TransectStyleComplexItemTestBase.h \
656
        src/MissionManager/VisualMissionItemTest.h \
Gus Grubba's avatar
Gus Grubba committed
657
        src/qgcunittest/GeoTest.h \
658 659
        src/qgcunittest/MavlinkLogTest.h \
        src/qgcunittest/MultiSignalSpy.h \
660
        src/qgcunittest/MultiSignalSpyV2.h \
661
        src/qgcunittest/UnitTest.h \
662 663 664 665 666 667 668 669 670 671 672
        src/Vehicle/FTPManagerTest.h \
        src/Vehicle/RequestMessageTest.h \
        src/Vehicle/SendMavCommandWithHandlerTest.h \
        src/Vehicle/SendMavCommandWithSignallingTest.h \
        src/Vehicle/VehicleLinkManagerTest.h \
        #src/qgcunittest/RadioConfigTest.h \
        #src/AnalyzeView/LogDownloadTest.h \
        #src/qgcunittest/FileDialogTest.h \
        #src/qgcunittest/FileManagerTest.h \
        #src/qgcunittest/MainWindowTest.h \
        #src/qgcunittest/MessageBoxTest.h \
673 674

    SOURCES += \
675
        src/Audio/AudioOutputTest.cc \
676 677 678 679
        src/FactSystem/FactSystemTestBase.cc \
        src/FactSystem/FactSystemTestGeneric.cc \
        src/FactSystem/FactSystemTestPX4.cc \
        src/FactSystem/ParameterManagerTest.cc \
680
        src/MissionManager/CameraCalcTest.cc \
681
        src/MissionManager/CameraSectionTest.cc \
682
        src/MissionManager/CorridorScanComplexItemTest.cc \
683
        src/MissionManager/FWLandingPatternTest.cc \
684 685
        src/MissionManager/LandingComplexItemTest.cc \
        src/MissionManager/MissionCommandTreeEditorTest.cc \
686 687
        src/MissionManager/MissionCommandTreeTest.cc \
        src/MissionManager/MissionControllerManagerTest.cc \
Gus Grubba's avatar
Gus Grubba committed
688
        src/MissionManager/MissionControllerTest.cc \
689 690
        src/MissionManager/MissionItemTest.cc \
        src/MissionManager/MissionManagerTest.cc \
691
        src/MissionManager/MissionSettingsTest.cc \
692
        src/MissionManager/PlanMasterControllerTest.cc \
693
        src/MissionManager/QGCMapPolygonTest.cc \
694
        src/MissionManager/QGCMapPolylineTest.cc \
695
        src/MissionManager/SectionTest.cc \
696
        src/MissionManager/SimpleMissionItemTest.cc \
697
        src/MissionManager/SpeedSectionTest.cc \
698
        src/MissionManager/StructureScanComplexItemTest.cc \
699
        src/MissionManager/SurveyComplexItemTest.cc \
700
        src/MissionManager/TransectStyleComplexItemTest.cc \
701
        src/MissionManager/TransectStyleComplexItemTestBase.cc \
702
        src/MissionManager/VisualMissionItemTest.cc \
Gus Grubba's avatar
Gus Grubba committed
703
        src/qgcunittest/GeoTest.cc \
704 705
        src/qgcunittest/MavlinkLogTest.cc \
        src/qgcunittest/MultiSignalSpy.cc \
706
        src/qgcunittest/MultiSignalSpyV2.cc \
707 708
        src/qgcunittest/UnitTest.cc \
        src/qgcunittest/UnitTestList.cc \
709 710 711 712 713 714 715 716 717 718 719 720
        src/Vehicle/FTPManagerTest.cc \
        src/Vehicle/RequestMessageTest.cc \
        src/Vehicle/SendMavCommandWithHandlerTest.cc \
        src/Vehicle/SendMavCommandWithSignallingTest.cc \
        src/Vehicle/VehicleLinkManagerTest.cc \
        #src/qgcunittest/RadioConfigTest.cc \
        #src/AnalyzeView/LogDownloadTest.cc \
        #src/qgcunittest/FileDialogTest.cc \
        #src/qgcunittest/FileManagerTest.cc \
        #src/qgcunittest/MainWindowTest.cc \
        #src/qgcunittest/MessageBoxTest.cc \

721 722 723 724
} } } } } }

# Main QGC Headers and Source files

725
HEADERS += \
726 727
    src/ADSB/ADSBVehicle.h \
    src/ADSB/ADSBVehicleManager.h \
728
    src/AnalyzeView/LogDownloadController.h \
729
    src/AnalyzeView/PX4LogParser.h \
730
    src/AnalyzeView/ULogParser.h \
731
    src/AnalyzeView/MavlinkConsoleController.h \
732
    src/Audio/AudioOutput.h \
733 734 735
    src/Camera/QGCCameraControl.h \
    src/Camera/QGCCameraIO.h \
    src/Camera/QGCCameraManager.h \
736
    src/CmdLineOptParser.h \
737
    src/FirmwarePlugin/PX4/px4_custom_mode.h \
Gus Grubba's avatar
Gus Grubba committed
738
    src/FollowMe/FollowMe.h \
739 740
    src/Joystick/Joystick.h \
    src/Joystick/JoystickManager.h \
Don Gagne's avatar
Don Gagne committed
741
    src/JsonHelper.h \
742 743
    src/KMLDomDocument.h \
    src/KMLHelper.h \
744
    src/LogCompressor.h \
745
    src/MissionManager/CameraCalc.h \
746
    src/MissionManager/CameraSection.h \
747
    src/MissionManager/CameraSpec.h \
748
    src/MissionManager/ComplexMissionItem.h \
749
    src/MissionManager/CorridorScanComplexItem.h \
750 751
    src/MissionManager/CorridorScanPlanCreator.h \
    src/MissionManager/BlankPlanCreator.h \
752
    src/MissionManager/FixedWingLandingComplexItem.h \
753 754
    src/MissionManager/GeoFenceController.h \
    src/MissionManager/GeoFenceManager.h \
755 756
    src/MissionManager/KMLPlanDomDocument.h \
    src/MissionManager/LandingComplexItem.h \
757
    src/MissionManager/MissionCommandList.h \
758 759
    src/MissionManager/MissionCommandTree.h \
    src/MissionManager/MissionCommandUIInfo.h \
760
    src/MissionManager/MissionController.h \
761 762
    src/MissionManager/MissionItem.h \
    src/MissionManager/MissionManager.h \
763
    src/MissionManager/MissionSettingsItem.h \
764
    src/MissionManager/PlanElementController.h \
765
    src/MissionManager/PlanCreator.h \
766
    src/MissionManager/PlanManager.h \
767
    src/MissionManager/PlanMasterController.h \
768 769 770
    src/MissionManager/QGCFenceCircle.h \
    src/MissionManager/QGCFencePolygon.h \
    src/MissionManager/QGCMapCircle.h \
771
    src/MissionManager/QGCMapPolygon.h \
772
    src/MissionManager/QGCMapPolyline.h \
773 774 775
    src/MissionManager/RallyPoint.h \
    src/MissionManager/RallyPointController.h \
    src/MissionManager/RallyPointManager.h \
776
    src/MissionManager/SimpleMissionItem.h \
777 778
    src/MissionManager/Section.h \
    src/MissionManager/SpeedSection.h \
779
    src/MissionManager/StructureScanComplexItem.h \
780
    src/MissionManager/StructureScanPlanCreator.h \
781
    src/MissionManager/SurveyComplexItem.h \
782 783
    src/MissionManager/SurveyPlanCreator.h \
    src/MissionManager/TakeoffMissionItem.h \
784
    src/MissionManager/TransectStyleComplexItem.h \
785
    src/MissionManager/VisualMissionItem.h \
786
    src/MissionManager/VTOLLandingComplexItem.h \
Gus Grubba's avatar
Gus Grubba committed
787 788
    src/PositionManager/PositionManager.h \
    src/PositionManager/SimulatedPosition.h \
789 790 791 792 793 794 795 796
    src/Geo/QGCGeo.h \
    src/Geo/Constants.hpp \
    src/Geo/Math.hpp \
    src/Geo/Utility.hpp \
    src/Geo/UTMUPS.hpp \
    src/Geo/MGRS.hpp \
    src/Geo/TransverseMercator.hpp \
    src/Geo/PolarStereographic.hpp \
797 798 799 800
    src/QGC.h \
    src/QGCApplication.h \
    src/QGCComboBox.h \
    src/QGCConfig.h \
801
    src/QGCFileDownload.h \
802
    src/QGCLoggingCategory.h \
Don Gagne's avatar
Don Gagne committed
803
    src/QGCMapPalette.h \
804
    src/QGCPalette.h \
805
    src/QGCQGeoCoordinate.h \
806 807
    src/QGCTemporaryFile.h \
    src/QGCToolbox.h \
808
    src/QGCZlib.h \
809
    src/QmlControls/AppMessages.h \
810
    src/QmlControls/EditPositionDialogController.h \
811 812 813 814
    src/QmlControls/FlightPathSegment.h \
    src/QmlControls/HorizontalFactValueGrid.h \
    src/QmlControls/InstrumentValueData.h \
    src/QmlControls/FactValueGrid.h \
815
    src/QmlControls/ParameterEditorController.h \
816
    src/QmlControls/QGCFileDialogController.h \
Gus Grubba's avatar
Gus Grubba committed
817
    src/QmlControls/QGCImageProvider.h \
818 819
    src/QmlControls/QGroundControlQmlGlobal.h \
    src/QmlControls/QmlObjectListModel.h \
820
    src/QmlControls/QGCGeoBoundingCube.h \
Gus Grubba's avatar
Gus Grubba committed
821
    src/QmlControls/RCChannelMonitorController.h \
822
    src/QmlControls/RCToParamDialogController.h \
Gus Grubba's avatar
Gus Grubba committed
823
    src/QmlControls/ScreenToolsController.h \
824 825 826
    src/QmlControls/TerrainProfile.h \
    src/QmlControls/ToolStripAction.h \
    src/QmlControls/ToolStripActionList.h \
Gus Grubba's avatar
Gus Grubba committed
827
    src/QtLocationPlugin/QMLControl/QGCMapEngineManager.h \
828
    src/Settings/ADSBVehicleManagerSettings.h \
829 830
    src/Settings/AppSettings.h \
    src/Settings/AutoConnectSettings.h \
831
    src/Settings/BrandImageSettings.h \
832
    src/Settings/FirmwareUpgradeSettings.h \
833
    src/Settings/FlightMapSettings.h \
834
    src/Settings/FlyViewSettings.h \
835
    src/Settings/OfflineMapsSettings.h \
836
    src/Settings/PlanViewSettings.h \
Don Gagne's avatar
Don Gagne committed
837
    src/Settings/RTKSettings.h \
838 839 840 841
    src/Settings/SettingsGroup.h \
    src/Settings/SettingsManager.h \
    src/Settings/UnitsSettings.h \
    src/Settings/VideoSettings.h \
842 843
    src/ShapeFileHelper.h \
    src/SHPFileHelper.h \
844
    src/Terrain/TerrainQuery.h \
Andreas Bircher's avatar
Andreas Bircher committed
845
    src/TerrainTile.h \
846 847 848 849 850 851 852
    src/Vehicle/CompInfo.h \
    src/Vehicle/CompInfoParam.h \
    src/Vehicle/CompInfoVersion.h \
    src/Vehicle/ComponentInformationManager.h \
    src/Vehicle/FTPManager.h \
    src/Vehicle/GPSRTKFactGroup.h \
    src/Vehicle/InitialConnectStateMachine.h \
Gus Grubba's avatar
Gus Grubba committed
853
    src/Vehicle/MAVLinkLogManager.h \
854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
    src/Vehicle/MultiVehicleManager.h \
    src/Vehicle/StateMachine.h \
    src/Vehicle/SysStatusSensorInfo.h \
    src/Vehicle/TerrainFactGroup.h \
    src/Vehicle/TerrainProtocolHandler.h \
    src/Vehicle/TrajectoryPoints.h \
    src/Vehicle/Vehicle.h \
    src/Vehicle/VehicleObjectAvoidance.h \
    src/Vehicle/VehicleBatteryFactGroup.h \
    src/Vehicle/VehicleClockFactGroup.h \
    src/Vehicle/VehicleDistanceSensorFactGroup.h \
    src/Vehicle/VehicleEstimatorStatusFactGroup.h \
    src/Vehicle/VehicleGPSFactGroup.h \
    src/Vehicle/VehicleLinkManager.h \
    src/Vehicle/VehicleSetpointFactGroup.h \
    src/Vehicle/VehicleTemperatureFactGroup.h \
    src/Vehicle/VehicleVibrationFactGroup.h \
    src/Vehicle/VehicleWindFactGroup.h \
Gus Grubba's avatar
Gus Grubba committed
872 873 874 875
    src/VehicleSetup/JoystickConfigController.h \
    src/comm/LinkConfiguration.h \
    src/comm/LinkInterface.h \
    src/comm/LinkManager.h \
876
    src/comm/LogReplayLink.h \
Gus Grubba's avatar
Gus Grubba committed
877 878 879 880
    src/comm/MAVLinkProtocol.h \
    src/comm/QGCMAVLink.h \
    src/comm/TCPLink.h \
    src/comm/UDPLink.h \
Willian Galvani's avatar
Willian Galvani committed
881
    src/comm/UdpIODevice.h \
882 883 884
    src/uas/UAS.h \
    src/uas/UASInterface.h \
    src/uas/UASMessageHandler.h \
885 886
    src/AnalyzeView/GeoTagController.h \
    src/AnalyzeView/ExifParser.h \
887

888 889 890 891
contains (DEFINES, QGC_ENABLE_PAIRING) {
    HEADERS += \
        src/PairingManager/PairingManager.h \
}
892

893 894
AndroidBuild {
HEADERS += \
895
    src/Joystick/JoystickAndroid.h \
896 897
}

898 899 900
DebugBuild {
HEADERS += \
    src/comm/MockLink.h \
901
    src/comm/MockLinkFTP.h \
902 903 904
    src/comm/MockLinkMissionItemHandler.h \
}

905 906 907
WindowsBuild {
    PRECOMPILED_HEADER += src/stable_headers.h
    HEADERS += src/stable_headers.h
Daniel Agar's avatar
Daniel Agar committed
908
    CONFIG -= silent
909
    OTHER_FILES += .appveyor.yml
910 911
}

dogmaphobic's avatar
dogmaphobic committed
912
contains(DEFINES, QGC_ENABLE_BLUETOOTH) {
dogmaphobic's avatar
dogmaphobic committed
913 914
    HEADERS += \
    src/comm/BluetoothLink.h \
dogmaphobic's avatar
dogmaphobic committed
915
}
916

917 918 919 920 921 922 923
contains (DEFINES, QGC_ENABLE_PAIRING) {
    contains(DEFINES, QGC_ENABLE_QTNFC) {
        HEADERS += \
            src/PairingManager/QtNFC.h
    }
}

Gus Grubba's avatar
Gus Grubba committed
924
!NoSerialBuild {
925
HEADERS += \
926
    src/comm/QGCSerialPortInfo.h \
927 928 929 930 931
    src/comm/SerialLink.h \
}

!MobileBuild {
HEADERS += \
Gus Grubba's avatar
Gus Grubba committed
932
    src/GPS/Drivers/src/gps_helper.h \
933 934
    src/GPS/Drivers/src/rtcm.h \
    src/GPS/Drivers/src/ashtech.h \
Gus Grubba's avatar
Gus Grubba committed
935
    src/GPS/Drivers/src/ubx.h \
936
    src/GPS/Drivers/src/sbf.h \
Gus Grubba's avatar
Gus Grubba committed
937 938 939 940 941 942 943 944
    src/GPS/GPSManager.h \
    src/GPS/GPSPositionMessage.h \
    src/GPS/GPSProvider.h \
    src/GPS/RTCM/RTCMMavlink.h \
    src/GPS/definitions.h \
    src/GPS/satellite_info.h \
    src/GPS/vehicle_gps_position.h \
    src/Joystick/JoystickSDL.h \
945
    src/RunGuard.h \
946 947
}

Don Gagne's avatar
Don Gagne committed
948 949 950 951
iOSBuild {
    OBJECTIVE_SOURCES += \
        src/MobileScreenMgr.mm \
}
952

Don Gagne's avatar
Don Gagne committed
953
AndroidBuild {
Don Gagne's avatar
Don Gagne committed
954
    SOURCES += src/MobileScreenMgr.cc \
955
    src/Joystick/JoystickAndroid.cc \
Don Gagne's avatar
Don Gagne committed
956 957
}

958
SOURCES += \
959 960
    src/ADSB/ADSBVehicle.cc \
    src/ADSB/ADSBVehicleManager.cc \
961
    src/AnalyzeView/LogDownloadController.cc \
962
    src/AnalyzeView/PX4LogParser.cc \
963
    src/AnalyzeView/ULogParser.cc \
964
    src/AnalyzeView/MavlinkConsoleController.cc \
965
    src/Audio/AudioOutput.cc \
966 967 968
    src/Camera/QGCCameraControl.cc \
    src/Camera/QGCCameraIO.cc \
    src/Camera/QGCCameraManager.cc \
969
    src/CmdLineOptParser.cc \
Gus Grubba's avatar
Gus Grubba committed
970
    src/FollowMe/FollowMe.cc \
971 972
    src/Joystick/Joystick.cc \
    src/Joystick/JoystickManager.cc \
Don Gagne's avatar
Don Gagne committed
973
    src/JsonHelper.cc \
974 975
    src/KMLDomDocument.cc \
    src/KMLHelper.cc \
976
    src/LogCompressor.cc \
977
    src/MissionManager/CameraCalc.cc \
978
    src/MissionManager/CameraSection.cc \
979
    src/MissionManager/CameraSpec.cc \
980
    src/MissionManager/ComplexMissionItem.cc \
981
    src/MissionManager/CorridorScanComplexItem.cc \
982 983
    src/MissionManager/CorridorScanPlanCreator.cc \
    src/MissionManager/BlankPlanCreator.cc \
984
    src/MissionManager/FixedWingLandingComplexItem.cc \
985 986
    src/MissionManager/GeoFenceController.cc \
    src/MissionManager/GeoFenceManager.cc \
987 988
    src/MissionManager/KMLPlanDomDocument.cc \
    src/MissionManager/LandingComplexItem.cc \
989
    src/MissionManager/MissionCommandList.cc \
990 991
    src/MissionManager/MissionCommandTree.cc \
    src/MissionManager/MissionCommandUIInfo.cc \
992
    src/MissionManager/MissionController.cc \
993 994
    src/MissionManager/MissionItem.cc \
    src/MissionManager/MissionManager.cc \
995
    src/MissionManager/MissionSettingsItem.cc \
996
    src/MissionManager/PlanElementController.cc \
997
    src/MissionManager/PlanCreator.cc \
998
    src/MissionManager/PlanManager.cc \
999
    src/MissionManager/PlanMasterController.cc \
1000 1001 1002
    src/MissionManager/QGCFenceCircle.cc \
    src/MissionManager/QGCFencePolygon.cc \
    src/MissionManager/QGCMapCircle.cc \
1003
    src/MissionManager/QGCMapPolygon.cc \
1004
    src/MissionManager/QGCMapPolyline.cc \
1005 1006 1007
    src/MissionManager/RallyPoint.cc \
    src/MissionManager/RallyPointController.cc \
    src/MissionManager/RallyPointManager.cc \
1008
    src/MissionManager/SimpleMissionItem.cc \
1009
    src/MissionManager/SpeedSection.cc \
1010
    src/MissionManager/StructureScanComplexItem.cc \
1011
    src/MissionManager/StructureScanPlanCreator.cc \
1012
    src/MissionManager/SurveyComplexItem.cc \
1013 1014
    src/MissionManager/SurveyPlanCreator.cc \
    src/MissionManager/TakeoffMissionItem.cc \
1015
    src/MissionManager/TransectStyleComplexItem.cc \
1016
    src/MissionManager/VisualMissionItem.cc \
1017
    src/MissionManager/VTOLLandingComplexItem.cc \
Gus Grubba's avatar
Gus Grubba committed
1018 1019
    src/PositionManager/PositionManager.cpp \
    src/PositionManager/SimulatedPosition.cc \
1020 1021 1022 1023 1024 1025 1026
    src/Geo/QGCGeo.cc \
    src/Geo/Math.cpp \
    src/Geo/Utility.cpp \
    src/Geo/UTMUPS.cpp \
    src/Geo/MGRS.cpp \
    src/Geo/TransverseMercator.cpp \
    src/Geo/PolarStereographic.cpp \
1027 1028 1029
    src/QGC.cc \
    src/QGCApplication.cc \
    src/QGCComboBox.cc \
1030
    src/QGCFileDownload.cc \
1031
    src/QGCLoggingCategory.cc \
Don Gagne's avatar
Don Gagne committed
1032
    src/QGCMapPalette.cc \
1033
    src/QGCPalette.cc \
1034
    src/QGCQGeoCoordinate.cc \
1035 1036
    src/QGCTemporaryFile.cc \
    src/QGCToolbox.cc \
1037
    src/QGCZlib.cc \
1038
    src/QmlControls/AppMessages.cc \
1039
    src/QmlControls/EditPositionDialogController.cc \
1040 1041 1042 1043
    src/QmlControls/FlightPathSegment.cc \
    src/QmlControls/HorizontalFactValueGrid.cc \
    src/QmlControls/InstrumentValueData.cc \
    src/QmlControls/FactValueGrid.cc \
1044
    src/QmlControls/ParameterEditorController.cc \
1045
    src/QmlControls/QGCFileDialogController.cc \
Gus Grubba's avatar
Gus Grubba committed
1046
    src/QmlControls/QGCImageProvider.cc \
1047 1048
    src/QmlControls/QGroundControlQmlGlobal.cc \
    src/QmlControls/QmlObjectListModel.cc \
1049
    src/QmlControls/QGCGeoBoundingCube.cc \
Gus Grubba's avatar
Gus Grubba committed
1050
    src/QmlControls/RCChannelMonitorController.cc \
1051
    src/QmlControls/RCToParamDialogController.cc \
Gus Grubba's avatar
Gus Grubba committed
1052
    src/QmlControls/ScreenToolsController.cc \
1053 1054 1055
    src/QmlControls/TerrainProfile.cc \
    src/QmlControls/ToolStripAction.cc \
    src/QmlControls/ToolStripActionList.cc \
Gus Grubba's avatar
Gus Grubba committed
1056
    src/QtLocationPlugin/QMLControl/QGCMapEngineManager.cc \
1057
    src/Settings/ADSBVehicleManagerSettings.cc \
1058 1059
    src/Settings/AppSettings.cc \
    src/Settings/AutoConnectSettings.cc \
1060
    src/Settings/BrandImageSettings.cc \
1061
    src/Settings/FirmwareUpgradeSettings.cc \
1062
    src/Settings/FlightMapSettings.cc \
1063
    src/Settings/FlyViewSettings.cc \
1064
    src/Settings/OfflineMapsSettings.cc \
1065
    src/Settings/PlanViewSettings.cc \
Don Gagne's avatar
Don Gagne committed
1066
    src/Settings/RTKSettings.cc \
1067 1068 1069 1070
    src/Settings/SettingsGroup.cc \
    src/Settings/SettingsManager.cc \
    src/Settings/UnitsSettings.cc \
    src/Settings/VideoSettings.cc \
1071 1072
    src/ShapeFileHelper.cc \
    src/SHPFileHelper.cc \
1073
    src/Terrain/TerrainQuery.cc \
Andreas Bircher's avatar
Andreas Bircher committed
1074
    src/TerrainTile.cc\
1075 1076 1077 1078 1079 1080 1081
    src/Vehicle/CompInfo.cc \
    src/Vehicle/CompInfoParam.cc \
    src/Vehicle/CompInfoVersion.cc \
    src/Vehicle/ComponentInformationManager.cc \
    src/Vehicle/FTPManager.cc \
    src/Vehicle/GPSRTKFactGroup.cc \
    src/Vehicle/InitialConnectStateMachine.cc \
Gus Grubba's avatar
Gus Grubba committed
1082
    src/Vehicle/MAVLinkLogManager.cc \
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
    src/Vehicle/MultiVehicleManager.cc \
    src/Vehicle/StateMachine.cc \
    src/Vehicle/SysStatusSensorInfo.cc \
    src/Vehicle/TerrainFactGroup.cc \
    src/Vehicle/TerrainProtocolHandler.cc \
    src/Vehicle/TrajectoryPoints.cc \
    src/Vehicle/Vehicle.cc \
    src/Vehicle/VehicleObjectAvoidance.cc \
    src/Vehicle/VehicleBatteryFactGroup.cc \
    src/Vehicle/VehicleClockFactGroup.cc \
    src/Vehicle/VehicleDistanceSensorFactGroup.cc \
    src/Vehicle/VehicleEstimatorStatusFactGroup.cc \
    src/Vehicle/VehicleGPSFactGroup.cc \
    src/Vehicle/VehicleLinkManager.cc \
    src/Vehicle/VehicleSetpointFactGroup.cc \
    src/Vehicle/VehicleTemperatureFactGroup.cc \
    src/Vehicle/VehicleVibrationFactGroup.cc \
    src/Vehicle/VehicleWindFactGroup.cc \
Gus Grubba's avatar
Gus Grubba committed
1101 1102
    src/VehicleSetup/JoystickConfigController.cc \
    src/comm/LinkConfiguration.cc \
1103
    src/comm/LinkInterface.cc \
Gus Grubba's avatar
Gus Grubba committed
1104
    src/comm/LinkManager.cc \
1105
    src/comm/LogReplayLink.cc \
Gus Grubba's avatar
Gus Grubba committed
1106 1107 1108 1109
    src/comm/MAVLinkProtocol.cc \
    src/comm/QGCMAVLink.cc \
    src/comm/TCPLink.cc \
    src/comm/UDPLink.cc \
Willian Galvani's avatar
Willian Galvani committed
1110
    src/comm/UdpIODevice.cc \
Gus Grubba's avatar
Gus Grubba committed
1111
    src/main.cc \
1112 1113
    src/uas/UAS.cc \
    src/uas/UASMessageHandler.cc \
1114 1115 1116 1117 1118 1119 1120
    src/AnalyzeView/GeoTagController.cc \
    src/AnalyzeView/