Fix compiler command line on windows

This commit is contained in:
lawnjelly 2020-02-15 08:25:31 +00:00 committed by GitHub
parent b6c6f15e17
commit 5dec13ae93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
SCsub
View File

@ -3,20 +3,12 @@ Import('env')
sources = [
"lportal_all.cpp",
# "register_types.cpp",
# "lroom.cpp",
# "lroom_manager.cpp",
# "lroom_converter.cpp",
# "lportal.cpp",
# "lplanes_pool.cpp",
# "ldob.cpp",
# "lbound.cpp",
# "lbitfield_dynamic.cpp",
]
module_env = env.Clone()
# warning!! these command lines are linux only
#module_env.Append(CXXFLAGS=['-O2', '-std=c++11', '-Wno-sign-compare', '-Wno-strict-aliasing'])
module_env.Append(CXXFLAGS=['-std=c++11', '-Wno-sign-compare', '-Wno-strict-aliasing'])
#module_env.Append(CXXFLAGS=['-std=c++11', '-Wno-sign-compare', '-Wno-strict-aliasing'])
if ARGUMENTS.get('lportal_shared', 'no') == 'yes':
# Shared lib compilation