64-bit support for CSGO on Linux and macOS (#705)
This commit is contained in:
+13
-11
@@ -1,15 +1,17 @@
|
||||
# vim: sts=2 ts=8 sw=2 tw=99 et ft=python:
|
||||
import os
|
||||
|
||||
lib = SM.StaticLibrary(builder, 'version')
|
||||
lib.compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'public')
|
||||
]
|
||||
lib.compiler.defines.remove('SM_USE_VERSIONLIB')
|
||||
lib.compiler.sourcedeps += SM.generated_headers
|
||||
lib.sources += [
|
||||
'versionlib.cpp'
|
||||
]
|
||||
task = builder.Add(lib)
|
||||
rvalue = {}
|
||||
for arch in SM.archs:
|
||||
lib = SM.StaticLibrary(builder, 'version', arch)
|
||||
lib.compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'public')
|
||||
]
|
||||
lib.compiler.defines.remove('SM_USE_VERSIONLIB')
|
||||
lib.compiler.sourcedeps += SM.generated_headers
|
||||
lib.sources += [
|
||||
'versionlib.cpp'
|
||||
]
|
||||
task = builder.Add(lib)
|
||||
|
||||
rvalue = task.binary
|
||||
rvalue[arch] = task.binary
|
||||
|
||||
Reference in New Issue
Block a user