ext-lhasa.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. project "lhasa"
  2. uuid "6B11F6A8-B131-4D2B-80EF-5731A9016436"
  3. language "C"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "lhasa"
  6. dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-lhasa"
  9. filter { "action:vs*" }
  10. characterset "Unicode"
  11. filter {}
  12. files {
  13. "../../include/lhasa/lib/crc16.c",
  14. "../../include/lhasa/lib/ext_header.c",
  15. "../../include/lhasa/lib/lh1_decoder.c",
  16. "../../include/lhasa/lib/lh5_decoder.c",
  17. "../../include/lhasa/lib/lh6_decoder.c",
  18. "../../include/lhasa/lib/lh7_decoder.c",
  19. "../../include/lhasa/lib/lha_arch_unix.c",
  20. "../../include/lhasa/lib/lha_arch_win32.c",
  21. "../../include/lhasa/lib/lha_basic_reader.c",
  22. "../../include/lhasa/lib/lha_decoder.c",
  23. "../../include/lhasa/lib/lha_endian.c",
  24. "../../include/lhasa/lib/lha_file_header.c",
  25. "../../include/lhasa/lib/lha_input_stream.c",
  26. "../../include/lhasa/lib/lha_reader.c",
  27. "../../include/lhasa/lib/lhx_decoder.c",
  28. "../../include/lhasa/lib/lz5_decoder.c",
  29. "../../include/lhasa/lib/lzs_decoder.c",
  30. "../../include/lhasa/lib/macbinary.c",
  31. "../../include/lhasa/lib/null_decoder.c",
  32. "../../include/lhasa/lib/pm1_decoder.c",
  33. "../../include/lhasa/lib/pm2_decoder.c",
  34. }
  35. files {
  36. "../../include/lhasa/lib/crc16.h",
  37. "../../include/lhasa/lib/ext_header.h",
  38. "../../include/lhasa/lib/lha_arch.h",
  39. "../../include/lhasa/lib/lha_basic_reader.h",
  40. "../../include/lhasa/lib/lha_decoder.h",
  41. "../../include/lhasa/lib/lha_endian.h",
  42. "../../include/lhasa/lib/lha_file_header.h",
  43. "../../include/lhasa/lib/lha_input_stream.h",
  44. "../../include/lhasa/lib/macbinary.h",
  45. "../../include/lhasa/lib/public/lha_decoder.h",
  46. "../../include/lhasa/lib/public/lha_file_header.h",
  47. "../../include/lhasa/lib/public/lha_input_stream.h",
  48. "../../include/lhasa/lib/public/lha_reader.h",
  49. "../../include/lhasa/lib/public/lhasa.h",
  50. }
  51. filter { "action:vs*" }
  52. buildoptions { "/wd4244", "/wd4267" }
  53. filter {}
  54. filter { "kind:SharedLib" }
  55. files { "../../build/premake/def/ext-lhasa.def" }
  56. filter {}