forked from mavlink/qgroundcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Android64Serial
- Loading branch information
Showing
526 changed files
with
129,818 additions
and
1,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Please see our website at <http://qgroundcontrol.org> | ||
# Maintainer: | ||
# Lorenz Meier <[email protected]> | ||
# (c) 2009-2014 QGroundControl Developers | ||
# (c) 2009-2019 QGroundControl Developers | ||
# License terms set in COPYING.md | ||
# ------------------------------------------------- | ||
|
||
|
@@ -21,6 +21,7 @@ linux { | |
message("Linux build") | ||
CONFIG += LinuxBuild | ||
DEFINES += __STDC_LIMIT_MACROS | ||
DEFINES += QGC_ENABLE_NFC RW_SUPPORT | ||
DEFINES += QGC_GST_TAISYNC_ENABLED | ||
DEFINES += QGC_GST_MICROHARD_ENABLED | ||
linux-clang { | ||
|
@@ -133,14 +134,15 @@ exists ($$PWD/.git) { | |
contains(GIT_DESCRIBE, v[0-9]+.[0-9]+.[0-9]+) { | ||
# release version "vX.Y.Z" | ||
GIT_VERSION = $${GIT_DESCRIBE} | ||
VERSION = $$replace(GIT_DESCRIBE, "v", "") | ||
VERSION = $$replace(VERSION, "-", ".") | ||
VERSION = $$section(VERSION, ".", 0, 3) | ||
} else { | ||
# development version "Development branch:sha date" | ||
GIT_VERSION = "Development $${GIT_BRANCH}:$${GIT_HASH} $${GIT_TIME}" | ||
VERSION = 0.0.0 | ||
} | ||
|
||
VERSION = $$replace(GIT_DESCRIBE, "v", "") | ||
VERSION = $$replace(VERSION, "-", ".") | ||
VERSION = $$section(VERSION, ".", 0, 3) | ||
MacBuild { | ||
MAC_VERSION = $$section(VERSION, ".", 0, 2) | ||
MAC_BUILD = $$section(VERSION, ".", 3, 3) | ||
|
@@ -255,6 +257,10 @@ ReleaseBuild { | |
} | ||
|
||
WindowsBuild { | ||
*msvc* { # visual studio spec filter | ||
# Run compilation using VS compiler using multiple threads | ||
QMAKE_CXXFLAGS += -MP | ||
} | ||
# Enable function level linking and enhanced optimized debugging | ||
QMAKE_CFLAGS_RELEASE += /Gy /Zo | ||
QMAKE_CXXFLAGS_RELEASE += /Gy /Zo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.