summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-21 20:27:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-21 20:27:49 (GMT)
commit8f271762f67192c6eba56ee135f77ba8643e3db6 (patch)
tree8995d21f9e46546efa949d5d7c96b99177a08855
parent3bcabdb3c42ae66b615dfe611ec117695709dd8c (diff)
downloadswift-8f271762f67192c6eba56ee135f77ba8643e3db6.zip
swift-8f271762f67192c6eba56ee135f77ba8643e3db6.tar.bz2
Tweaking compilation flags on Windows.
Use /nologo and /subsystem:windows.
-rw-r--r--SConstruct2
-rw-r--r--Swift/QtUI/SConscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 1559e0a..0fa9a58 100644
--- a/SConstruct
+++ b/SConstruct
@@ -90,7 +90,7 @@ if env.get("coverage", 0) :
if env["PLATFORM"] == "win32" :
env.Append(LIBS = ["dnsapi", "ws2_32", "wsock32"])
- env.Append(CCFLAGS = "/EHsc")
+ env.Append(CCFLAGS = ["/EHsc", "/nologo"])
env["LINKCOM"] = [env["LINKCOM"], 'mt.exe -nologo -manifest ${TARGET}.manifest -outputresource:$TARGET;1']
env["SHLINKCOM"] = [env["SHLINKCOM"], 'mt.exe -nologo -manifest ${TARGET}.manifest -outputresource:$TARGET;2']
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index d30f3b9..cff92ed 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -40,8 +40,8 @@ myenv.Append(CPPPATH = ["/usr/include/phonon"])
myenv.Append(CPPPATH = ["."])
if env["PLATFORM"] == "win32" :
- #myenv["LINKFLAGS"] = ["/SUBSYSTEM:CONSOLE"]
- myenv.Append(LINKFLAGS = ["/SUBSYSTEM:WINDOWS"])
+ myenv["LINKFLAGS"] = ["/SUBSYSTEM:CONSOLE"]
+ #myenv.Append(LINKFLAGS = ["/SUBSYSTEM:WINDOWS"])
myenv.Append(LIBS = "qtmain")
myenv.Command("DefaultTheme.qrc", "../resources/themes/Default", Action(generateDefaultTheme, cmdstr = "$GENCOMSTR"))