2013-11-23 19:10:27 -08:00
|
|
|
# vim: sts=2 ts=8 sw=2 tw=99 et ft=python:
|
|
|
|
|
2017-12-20 01:11:57 -06:00
|
|
|
rvalue = {}
|
2020-08-19 13:34:12 -07:00
|
|
|
for cxx in MMS.all_targets:
|
2017-12-20 01:11:57 -06:00
|
|
|
libname = 'version'
|
2020-08-19 13:34:12 -07:00
|
|
|
lib = MMS.StaticLibrary(cxx, libname)
|
2017-12-20 01:11:57 -06:00
|
|
|
lib.compiler.defines.remove('MMS_USE_VERSIONLIB')
|
|
|
|
lib.compiler.sourcedeps += MMS.generated_headers
|
|
|
|
lib.sources += [
|
|
|
|
'versionlib.cpp'
|
|
|
|
]
|
2016-07-22 14:01:34 -04:00
|
|
|
|
2017-12-20 01:11:57 -06:00
|
|
|
cmd = builder.Add(lib)
|
2013-11-23 19:10:27 -08:00
|
|
|
|
2020-08-19 13:34:12 -07:00
|
|
|
rvalue[cxx.target.arch] = cmd.binary
|