Commit c84cb8b5 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #765 from Susurrus/qt5_win_fixes

Documenting why unit tests are in release build.
parents 21bb1474 f35180cd
......@@ -750,14 +750,12 @@ SOURCES += \
#
# Unit Test specific configuration goes here
#
# FIXME: These files should only be enabled on the Debug build, but that is currently broken as of Qt5.3.1 on Windows,
# so we just always compile them.
#ReleaseBuild {
INCLUDEPATH += \
# We'd ideally only build this code as part of a Debug build, but qmake doesn't allow
# for Debug-only files when generating Visual Studio projects [QTBUG-40351]
INCLUDEPATH += \
src/qgcunittest
HEADERS += \
HEADERS += \
src/qgcunittest/AutoTest.h \
src/qgcunittest/UASUnitTest.h \
src/qgcunittest/MockUASManager.h \
......@@ -772,7 +770,7 @@ SOURCES += \
src/qgcunittest/TCPLoopBackServer.h \
src/qgcunittest/QGCUASFileManagerTest.h
SOURCES += \
SOURCES += \
src/qgcunittest/UASUnitTest.cc \
src/qgcunittest/MockUASManager.cc \
src/qgcunittest/MockUAS.cc \
......@@ -784,4 +782,3 @@ SOURCES += \
src/qgcunittest/TCPLinkTest.cc \
src/qgcunittest/TCPLoopBackServer.cc \
src/qgcunittest/QGCUASFileManagerTest.cc
#}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment