Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
060a4df3
Commit
060a4df3
authored
Jan 08, 2016
by
Nate Weibley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default (non installer) release builds on Windows by removing VS hacks
parent
0d962e0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
QGCCommon.pri
QGCCommon.pri
+1
-11
qgroundcontrol.pro
qgroundcontrol.pro
+3
-8
No files found.
QGCCommon.pri
View file @
060a4df3
...
...
@@ -113,11 +113,6 @@ CONFIG(debug, debug|release) {
error(Unsupported build flavor)
}
# Need to special case Windows debug_and_release since VS Project creation in this case does strange things [QTBUG-40351]
win32:debug_and_release {
CONFIG += WindowsDebugAndRelease
}
# Setup our build directories
BASEDIR = $$IN_PWD
...
...
@@ -183,12 +178,7 @@ ReleaseBuild {
#
# Unit Test specific configuration goes here
#
# We have to special case Windows debug_and_release builds because you can't have files
# which are only in the debug variant [QTBUG-40351]. So in this case we include unit tests
# even in the release variant. If you want a Windows release build with no unit tests run
# qmake with CONFIG-=debug_and_release CONFIG+=release.
#
DebugBuild
|WindowsDebugAndRelease
{
DebugBuild {
DEFINES += UNITTEST_BUILD
}
qgroundcontrol.pro
View file @
060a4df3
...
...
@@ -478,13 +478,8 @@ SOURCES += \
#
#
Unit
Test
specific
configuration
goes
here
#
#
We
have
to
special
case
Windows
debug_and_release
builds
because
you
can
'
t
have
files
#
which
are
only
in
the
debug
variant
[
QTBUG
-
40351
].
So
in
this
case
we
include
unit
tests
#
even
in
the
release
variant
.
If
you
want
a
Windows
release
build
with
no
unit
tests
run
#
qmake
with
CONFIG
-=
debug_and_release
CONFIG
+=
release
.
#
DebugBuild
|
WindowsDebugAndRelease
{
DebugBuild
{
HEADERS
+=
src
/
QmlControls
/
QmlTestWidget
.
h
SOURCES
+=
src
/
QmlControls
/
QmlTestWidget
.
cc
...
...
@@ -540,8 +535,8 @@ SOURCES += \
src
/
qgcunittest
/
UnitTest
.
cc
\
src
/
qgcunittest
/
UnitTestList
.
cc
\
src
/
VehicleSetup
/
SetupViewTest
.
cc
\
}
#
DebugBuild
|
WindowsDebugAndRelease
}
#
Mobile
Build
}
#
!
MobileBuild
}
#
Debug
Build
#
#
Firmware
Plugin
Support
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment