mpt-updatesigntool.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. project "updatesigntool"
  2. uuid "89b3630f-5728-4902-8258-d4dbc532e185"
  3. language "C++"
  4. location ( "../../build/" .. mpt_projectpathname )
  5. vpaths { ["*"] = "../../" }
  6. mpt_projectname = "updatesigntool"
  7. dofile "../../build/premake/premake-defaults-EXE.lua"
  8. dofile "../../build/premake/premake-defaults.lua"
  9. includedirs {
  10. "../../src",
  11. "../../common",
  12. "../../include",
  13. "../../include/nlohmann-json/include",
  14. "$(IntDir)/svn_version",
  15. "../../build/svn_version",
  16. }
  17. files {
  18. "../../src/mpt/**.cpp",
  19. "../../src/mpt/**.hpp",
  20. "../../src/openmpt/**.cpp",
  21. "../../src/openmpt/**.hpp",
  22. "../../common/*.cpp",
  23. "../../common/*.h",
  24. "../../misc/*.cpp",
  25. "../../misc/*.h",
  26. "../../installer/updatesigntool/*.cpp",
  27. "../../installer/updatesigntool/*.h",
  28. }
  29. excludes {
  30. "../../src/openmpt/sounddevice/**.cpp",
  31. "../../src/openmpt/sounddevice/**.hpp",
  32. }
  33. defines { "MODPLUG_TRACKER", "MPT_BUILD_UPDATESIGNTOOL" }
  34. largeaddressaware ( true )
  35. characterset "Unicode"
  36. warnings "Extra"
  37. filter {}
  38. prebuildcommands { "..\\..\\build\\svn_version\\update_svn_version_vs_premake.cmd $(IntDir)" }