1
0

ext-UnRAR.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. project "UnRAR"
  2. uuid "95CC809B-03FC-4EDB-BB20-FD07A698C05F"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "unrar"
  6. dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-unrar"
  9. includedirs { "../../include/unrar" }
  10. filter {}
  11. filter { "action:vs*" }
  12. characterset "Unicode"
  13. filter {}
  14. defines {
  15. "NOMINMAX",
  16. "NOVOLUME",
  17. "UNRAR",
  18. "RAR_NOCRYPT",
  19. "RARDLL",
  20. "SILENT",
  21. }
  22. files {
  23. "../../include/unrar/archive.cpp",
  24. "../../include/unrar/arcread.cpp",
  25. "../../include/unrar/blake2s.cpp",
  26. "../../include/unrar/cmddata.cpp",
  27. "../../include/unrar/consio.cpp",
  28. "../../include/unrar/crc.cpp",
  29. "../../include/unrar/crypt.cpp",
  30. "../../include/unrar/dll.cpp",
  31. "../../include/unrar/encname.cpp",
  32. "../../include/unrar/errhnd.cpp",
  33. "../../include/unrar/extinfo.cpp",
  34. "../../include/unrar/extract.cpp",
  35. "../../include/unrar/filcreat.cpp",
  36. "../../include/unrar/file.cpp",
  37. "../../include/unrar/filefn.cpp",
  38. "../../include/unrar/filestr.cpp",
  39. "../../include/unrar/find.cpp",
  40. "../../include/unrar/getbits.cpp",
  41. "../../include/unrar/global.cpp",
  42. "../../include/unrar/hash.cpp",
  43. "../../include/unrar/headers.cpp",
  44. "../../include/unrar/isnt.cpp",
  45. "../../include/unrar/list.cpp",
  46. "../../include/unrar/match.cpp",
  47. "../../include/unrar/options.cpp",
  48. "../../include/unrar/pathfn.cpp",
  49. "../../include/unrar/qopen.cpp",
  50. "../../include/unrar/rarvm.cpp",
  51. "../../include/unrar/rawread.cpp",
  52. "../../include/unrar/rdwrfn.cpp",
  53. "../../include/unrar/recvol.cpp",
  54. "../../include/unrar/rijndael.cpp",
  55. "../../include/unrar/rs.cpp",
  56. "../../include/unrar/rs16.cpp",
  57. "../../include/unrar/scantree.cpp",
  58. "../../include/unrar/secpassword.cpp",
  59. "../../include/unrar/sha1.cpp",
  60. "../../include/unrar/sha256.cpp",
  61. "../../include/unrar/smallfn.cpp",
  62. "../../include/unrar/strfn.cpp",
  63. "../../include/unrar/strlist.cpp",
  64. "../../include/unrar/system.cpp",
  65. "../../include/unrar/threadpool.cpp",
  66. "../../include/unrar/timefn.cpp",
  67. "../../include/unrar/ui.cpp",
  68. "../../include/unrar/unicode.cpp",
  69. "../../include/unrar/unpack.cpp",
  70. "../../include/unrar/volume.cpp",
  71. }
  72. files {
  73. "../../include/unrar/archive.hpp",
  74. "../../include/unrar/array.hpp",
  75. "../../include/unrar/blake2s.hpp",
  76. "../../include/unrar/cmddata.hpp",
  77. "../../include/unrar/coder.hpp",
  78. "../../include/unrar/compress.hpp",
  79. "../../include/unrar/consio.hpp",
  80. "../../include/unrar/crc.hpp",
  81. "../../include/unrar/crypt.hpp",
  82. "../../include/unrar/dll.hpp",
  83. "../../include/unrar/encname.hpp",
  84. "../../include/unrar/errhnd.hpp",
  85. "../../include/unrar/extinfo.hpp",
  86. "../../include/unrar/extract.hpp",
  87. "../../include/unrar/filcreat.hpp",
  88. "../../include/unrar/file.hpp",
  89. "../../include/unrar/filefn.hpp",
  90. "../../include/unrar/filestr.hpp",
  91. "../../include/unrar/find.hpp",
  92. "../../include/unrar/getbits.hpp",
  93. "../../include/unrar/global.hpp",
  94. "../../include/unrar/hash.hpp",
  95. "../../include/unrar/headers.hpp",
  96. "../../include/unrar/headers5.hpp",
  97. "../../include/unrar/isnt.hpp",
  98. "../../include/unrar/list.hpp",
  99. "../../include/unrar/loclang.hpp",
  100. "../../include/unrar/log.hpp",
  101. "../../include/unrar/match.hpp",
  102. "../../include/unrar/model.hpp",
  103. "../../include/unrar/options.hpp",
  104. "../../include/unrar/os.hpp",
  105. "../../include/unrar/pathfn.hpp",
  106. "../../include/unrar/qopen.hpp",
  107. "../../include/unrar/rar.hpp",
  108. "../../include/unrar/rardefs.hpp",
  109. "../../include/unrar/rarlang.hpp",
  110. "../../include/unrar/raros.hpp",
  111. "../../include/unrar/rartypes.hpp",
  112. "../../include/unrar/rarvm.hpp",
  113. "../../include/unrar/rawint.hpp",
  114. "../../include/unrar/rawread.hpp",
  115. "../../include/unrar/rdwrfn.hpp",
  116. "../../include/unrar/recvol.hpp",
  117. "../../include/unrar/resource.hpp",
  118. "../../include/unrar/rijndael.hpp",
  119. "../../include/unrar/rs.hpp",
  120. "../../include/unrar/rs16.hpp",
  121. "../../include/unrar/scantree.hpp",
  122. "../../include/unrar/secpassword.hpp",
  123. "../../include/unrar/sha1.hpp",
  124. "../../include/unrar/sha256.hpp",
  125. "../../include/unrar/smallfn.hpp",
  126. "../../include/unrar/strfn.hpp",
  127. "../../include/unrar/strlist.hpp",
  128. "../../include/unrar/suballoc.hpp",
  129. "../../include/unrar/system.hpp",
  130. "../../include/unrar/threadpool.hpp",
  131. "../../include/unrar/timefn.hpp",
  132. "../../include/unrar/ui.hpp",
  133. "../../include/unrar/unicode.hpp",
  134. "../../include/unrar/unpack.hpp",
  135. "../../include/unrar/version.hpp",
  136. "../../include/unrar/volume.hpp",
  137. }
  138. filter {}
  139. filter { "action:vs*" }
  140. buildoptions { "/wd4996" }
  141. filter {}
  142. filter { "action:vs*" }
  143. buildoptions {
  144. "/wd6031",
  145. "/wd6262",
  146. "/wd28159",
  147. } -- analyze
  148. filter {}
  149. filter { "kind:SharedLib" }
  150. files { "../../include/unrar/dll_nocrypt.def" }
  151. filter {}