mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-16 05:13:43 +08:00
74ac5ef9a0
* try cffi params * ctypes * lil more * rm cython * lil more * that was fine * lil more * Drop unrelated Params concurrency changes * Clean up ctypes Params build integration * just c * Clarify Params exception translation * Expand Params C wrappers * lil more
20 lines
468 B
Python
20 lines
468 B
Python
Import('env')
|
|
|
|
common_libs = [
|
|
'params.cc',
|
|
'swaglog.cc',
|
|
'util.cc',
|
|
'ratekeeper.cc',
|
|
'yuv.cc',
|
|
]
|
|
|
|
_common = env.Library('common', common_libs, LIBS="json11")
|
|
Export('_common')
|
|
|
|
params_python = env.SharedLibrary('params_c', 'params_c.cc', LIBS=[_common, 'zmq', 'json11'])
|
|
common_python = [params_python]
|
|
Export('common_python')
|
|
|
|
if GetOption('extras'):
|
|
env.Program('tests/test_swaglog', 'tests/test_swaglog.cc', LIBS=[_common, 'json11', 'zmq', 'pthread'])
|