2022-06-26 15:00:03 +03:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
|
CPPPATH=[
|
|
|
|
|
"#/lib/infrared/encoder_decoder",
|
|
|
|
|
"#/lib/infrared/worker",
|
2025-11-06 19:23:59 +03:00
|
|
|
"#/lib/infrared/signal",
|
2022-06-26 15:00:03 +03:00
|
|
|
],
|
2022-11-02 19:15:40 +04:00
|
|
|
SDK_HEADERS=[
|
|
|
|
|
File("encoder_decoder/infrared.h"),
|
|
|
|
|
File("worker/infrared_worker.h"),
|
|
|
|
|
File("worker/infrared_transmit.h"),
|
2025-11-06 19:23:59 +03:00
|
|
|
File("signal/infrared_error_code.h"),
|
|
|
|
|
File("signal/infrared_signal.h"),
|
|
|
|
|
File("signal/infrared_brute_force.h"),
|
2022-11-02 19:15:40 +04:00
|
|
|
],
|
2023-12-01 13:16:48 +04:00
|
|
|
LINT_SOURCES=[
|
|
|
|
|
Dir("."),
|
|
|
|
|
],
|
2022-06-26 15:00:03 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="infrared")
|
|
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
|
Return("lib")
|