2021-04-20 11:56:43 +02:00
|
|
|
Import('env', 'common', 'cereal', 'messaging', 'libkf', 'transformations')
|
2020-01-17 11:39:46 -08:00
|
|
|
|
2023-03-08 16:11:18 -08:00
|
|
|
loc_libs = [cereal, messaging, 'zmq', common, 'capnp', 'kj', 'pthread']
|
2021-04-20 11:56:43 +02:00
|
|
|
|
2021-04-20 17:50:40 +02:00
|
|
|
ekf_sym_cc = env.SharedObject("#rednose/helpers/ekf_sym.cc")
|
|
|
|
|
locationd_sources = ["locationd.cc", "models/live_kf.cc", ekf_sym_cc]
|
2021-04-20 11:56:43 +02:00
|
|
|
lenv = env.Clone()
|
|
|
|
|
lenv["_LIBFLAGS"] += f' {libkf[0].get_labspath()}'
|
2021-04-20 17:50:40 +02:00
|
|
|
locationd = lenv.Program("locationd", locationd_sources, LIBS=loc_libs + transformations)
|
2023-09-13 18:59:32 -07:00
|
|
|
lenv.Depends(locationd, libkf)
|