premake4.lua 933 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. solution "enet"
  2. configurations { "Debug", "Release" }
  3. platforms { "x32", "x64" }
  4. project "enet_static"
  5. kind "StaticLib"
  6. language "C"
  7. files { "*.c" }
  8. includedirs { "include/" }
  9. configuration "Debug"
  10. targetsuffix "d"
  11. defines({ "DEBUG" })
  12. flags { "Symbols" }
  13. configuration "Release"
  14. defines({ "NDEBUG" })
  15. flags { "Optimize" }
  16. configuration { "Debug", "x64" }
  17. targetsuffix "64d"
  18. configuration { "Release", "x64" }
  19. targetsuffix "64"
  20. project "enet"
  21. kind "SharedLib"
  22. language "C"
  23. files { "*.c" }
  24. includedirs { "include/" }
  25. defines({"ENET_DLL=1" })
  26. configuration "Debug"
  27. targetsuffix "d"
  28. defines({ "DEBUG" })
  29. flags { "Symbols" }
  30. configuration "Release"
  31. defines({ "NDEBUG" })
  32. flags { "Optimize" }
  33. configuration { "Debug", "x64" }
  34. targetsuffix "64d"
  35. configuration { "Release", "x64" }
  36. targetsuffix "64"