SConscript 495 B

1234567891011121314151617181920212223
  1. Import("env")
  2. env.Append(
  3. CPPPATH=[
  4. "#/lib/infrared/encoder_decoder",
  5. "#/lib/infrared/worker",
  6. ],
  7. SDK_HEADERS=[
  8. File("encoder_decoder/infrared.h"),
  9. File("worker/infrared_worker.h"),
  10. File("worker/infrared_transmit.h"),
  11. ],
  12. )
  13. libenv = env.Clone(FW_LIB_NAME="infrared")
  14. libenv.ApplyLibFlags()
  15. sources = libenv.GlobRecursive("*.c")
  16. lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
  17. libenv.Install("${LIB_DIST_DIR}", lib)
  18. Return("lib")