Trigger build for hl2sdk-l4d changes.
1 # vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
4 binary = SM.Library(builder, 'sourcemod.logic')
5 binary.compiler.cxxincludes += [
6 os.path.join(builder.sourcePath, 'core', 'logic'),
7 os.path.join(builder.sourcePath, 'public'),
8 os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
9 os.path.join(builder.sourcePath, 'public', 'amtl'),
10 os.path.join(SM.mms_root, 'core', 'sourcehook')
12 binary.compiler.defines += [
13 'SM_DEFAULT_THREADER',
17 if builder.target_platform == 'linux':
18 binary.compiler.postlink += ['-lpthread', '-lrt']
19 elif builder.target_platform == 'mac':
20 binary.compiler.cflags += ['-Wno-deprecated-declarations']
21 binary.compiler.postlink += ['-framework', 'CoreServices']
29 'thread/ThreadWorker.cpp',
30 'thread/BaseWorker.cpp',
46 'PhraseCollection.cpp',
51 'smn_gameconfigs.cpp',
52 'smn_fakenatives.cpp',
67 if builder.target_platform == 'windows':
68 binary.sources += ['thread/WinThreads.cpp']
70 binary.sources += ['thread/PosixThreads.cpp']
72 SM.binaries += [builder.Add(binary)]