[FL-2052] New build system based on scons (#1269)
This commit is contained in:
18
lib/infrared/SConscript
Normal file
18
lib/infrared/SConscript
Normal file
@@ -0,0 +1,18 @@
|
||||
Import("env")
|
||||
|
||||
env.Append(
|
||||
CPPPATH=[
|
||||
"#/lib/infrared/encoder_decoder",
|
||||
"#/lib/infrared/worker",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
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")
|
Reference in New Issue
Block a user