From 8f271762f67192c6eba56ee135f77ba8643e3db6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 21 Nov 2009 21:27:49 +0100
Subject: Tweaking compilation flags on Windows.

Use /nologo and /subsystem:windows.

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"))
-- 
cgit v0.10.2-6-g49f6