diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-21 20:27:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-21 20:27:49 (GMT) |
commit | 8f271762f67192c6eba56ee135f77ba8643e3db6 (patch) | |
tree | 8995d21f9e46546efa949d5d7c96b99177a08855 | |
parent | 3bcabdb3c42ae66b615dfe611ec117695709dd8c (diff) | |
download | swift-8f271762f67192c6eba56ee135f77ba8643e3db6.zip swift-8f271762f67192c6eba56ee135f77ba8643e3db6.tar.bz2 |
Tweaking compilation flags on Windows.
Use /nologo and /subsystem:windows.
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | Swift/QtUI/SConscript | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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")) |