|
@@ -223,7 +223,7 @@ def configure_msvc(env, manual_msvc_config):
|
|
|
|
|
|
env.AppendUnique(CCFLAGS=["/MT", "/Gd", "/GR", "/nologo"])
|
|
env.AppendUnique(CCFLAGS=["/MT", "/Gd", "/GR", "/nologo"])
|
|
# Force to use Unicode encoding
|
|
# Force to use Unicode encoding
|
|
- env.Append(MSVC_FLAGS=["/utf-8"])
|
|
|
|
|
|
+ env.AppendUnique(CCFLAGS=["/utf-8"])
|
|
env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++
|
|
env.AppendUnique(CXXFLAGS=["/TP"]) # assume all sources are C++
|
|
if manual_msvc_config: # should be automatic if SCons found it
|
|
if manual_msvc_config: # should be automatic if SCons found it
|
|
if os.getenv("WindowsSdkDir") is not None:
|
|
if os.getenv("WindowsSdkDir") is not None:
|