ext-ancient.lua 870 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. project "ancient"
  2. uuid "e1184509-74f7-421d-a8c8-feec2c28ecc2"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname .. "/ext" )
  5. mpt_projectname = "ancient"
  6. dofile "../../build/premake/premake-defaults-LIBorDLL.lua"
  7. dofile "../../build/premake/premake-defaults.lua"
  8. targetname "openmpt-ancient"
  9. includedirs {
  10. "../../include/ancient/api",
  11. "../../include/ancient/api/ancient",
  12. "../../include/ancient/src",
  13. }
  14. filter {}
  15. filter { "action:vs*" }
  16. characterset "Unicode"
  17. filter {}
  18. files {
  19. "../../include/ancient/api/ancient/**.hpp",
  20. }
  21. files {
  22. "../../include/ancient/src/**.hpp",
  23. "../../include/ancient/src/**.cpp",
  24. }
  25. filter { "action:vs*" }
  26. buildoptions {
  27. "/wd4146",
  28. "/wd4244",
  29. }
  30. buildoptions {
  31. "/wd4251",
  32. "/wd4275",
  33. }
  34. filter {}
  35. filter { "kind:SharedLib" }
  36. defines { "ANCIENT_API_DECLSPEC_DLLEXPORT" }
  37. filter {}