f8e13417f2
date: 2026-08-15T14:20:10 master commit: d48cfa730bf21593b684efeaf3fd8940695e1dea
25 lines
649 B
Python
25 lines
649 B
Python
import eigen
|
|
|
|
Import('env', 'envCython', 'common')
|
|
|
|
env = env.Clone()
|
|
env.Append(CPPPATH=[eigen.INCLUDE_DIR])
|
|
envCython = envCython.Clone()
|
|
envCython.Append(CPPPATH=[eigen.INCLUDE_DIR])
|
|
|
|
cc_sources = [
|
|
"helpers/ekf_load.cc",
|
|
"helpers/ekf_sym.cc",
|
|
]
|
|
libs = ["dl"]
|
|
if common != "":
|
|
# for SWAGLOG support
|
|
libs += [common, 'zmq']
|
|
|
|
ekf_objects = env.SharedObject(cc_sources)
|
|
rednose = env.Library("helpers/ekf_sym", ekf_objects, LIBS=libs)
|
|
rednose_python = envCython.Program("helpers/ekf_sym_pyx.so", ["helpers/ekf_sym_pyx.pyx", ekf_objects],
|
|
LIBS=libs + envCython["LIBS"])
|
|
|
|
Export('rednose', 'rednose_python')
|