Commit b7dc11b4 authored by Bryant's avatar Bryant

Minor changes to build scripts.

parent e8afc636
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# along with QGroundControl. If not, see <http://www.gnu.org/licenses/>. # along with QGroundControl. If not, see <http://www.gnu.org/licenses/>.
# ------------------------------------------------- # -------------------------------------------------
QMAKE_POST_LINK += $$quote(echo "Copying files") QMAKE_POST_LINK += echo "Copying files"
# #
# Copy the application resources to the associated place alongside the application # Copy the application resources to the associated place alongside the application
......
...@@ -140,13 +140,6 @@ WindowsBuild { ...@@ -140,13 +140,6 @@ WindowsBuild {
QMAKE_CXXFLAGS_DEBUG += -MP QMAKE_CXXFLAGS_DEBUG += -MP
QMAKE_CXXFLAGS_RELEASE += -MP QMAKE_CXXFLAGS_RELEASE += -MP
# Specify that the Unicode versions of string functions should be used in the Windows API.
# Without this the utils and qserialport libraries crash.
DEFINES += UNICODE
# QWebkit is not needed on MS-Windows compilation environment
CONFIG -= webkit
RC_FILE = $$BASEDIR/qgroundcontrol.rc RC_FILE = $$BASEDIR/qgroundcontrol.rc
} }
...@@ -176,7 +169,7 @@ WindowsBuild { ...@@ -176,7 +169,7 @@ WindowsBuild {
} }
# #
# Build flavor specific settings # Build-specific settings
# #
DebugBuild { DebugBuild {
...@@ -187,7 +180,7 @@ ReleaseBuild { ...@@ -187,7 +180,7 @@ ReleaseBuild {
DEFINES += QT_NO_DEBUG DEFINES += QT_NO_DEBUG
WindowsBuild { WindowsBuild {
# Use link time code generation for beteer optimization (I believe this is supported in msvc express, but not 100% sure) # Use link time code generation for better optimization (I believe this is supported in MSVC Express, but not 100% sure)
QMAKE_LFLAGS_LTCG = /LTCG QMAKE_LFLAGS_LTCG = /LTCG
QMAKE_CFLAGS_LTCG = -GL QMAKE_CFLAGS_LTCG = -GL
} }
......
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