|
|
@ -7,7 +7,6 @@ from waflib import Logs |
|
|
|
import sys |
|
|
|
import sys |
|
|
|
import os |
|
|
|
import os |
|
|
|
sys.path.append(os.path.realpath('scripts/waflib')) |
|
|
|
sys.path.append(os.path.realpath('scripts/waflib')) |
|
|
|
import fwgslib |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VERSION = '2.4' |
|
|
|
VERSION = '2.4' |
|
|
|
APPNAME = 'hlsdk-xash3d' |
|
|
|
APPNAME = 'hlsdk-xash3d' |
|
|
@ -128,11 +127,11 @@ def configure(conf): |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
conf.env.append_unique('CFLAGS', fwgslib.get_flags_by_type( |
|
|
|
conf.env.append_unique('CFLAGS', conf.get_flags_by_type( |
|
|
|
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
conf.env.append_unique('CXXFLAGS', fwgslib.get_flags_by_type( |
|
|
|
conf.env.append_unique('CXXFLAGS', conf.get_flags_by_type( |
|
|
|
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
conf.env.append_unique('LINKFLAGS', fwgslib.get_flags_by_type( |
|
|
|
conf.env.append_unique('LINKFLAGS', conf.get_flags_by_type( |
|
|
|
linker_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
linker_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
|
|
|
|
|
|
|
|
if conf.env.COMPILER_CC == 'msvc': |
|
|
|
if conf.env.COMPILER_CC == 'msvc': |
|
|
|