premake4.lua 485 B

12345678910111213141516171819202122232425262728293031
  1. project "gwen"
  2. kind "StaticLib"
  3. --flags {"Unicode"}
  4. initOpenGL()
  5. initGlew()
  6. if os.is("Linux") then
  7. initX11()
  8. end
  9. defines { "GWEN_COMPILE_STATIC" }
  10. defines { "DONT_USE_GLUT"}
  11. includedirs {
  12. ".",".."
  13. }
  14. files {
  15. "*.cpp",
  16. "*.h",
  17. "Controls/*.cpp",
  18. "Controls/*.h",
  19. "Controls/Dialog/*.cpp",
  20. "Controls/Dialogs/*.h",
  21. "Controls/Layout/*.h",
  22. "Controls/Property/*.h",
  23. "Input/*.h",
  24. "Platforms/*.cpp",
  25. "Renderers/*.cpp",
  26. "Skins/*.cpp",
  27. "Skins/*.h"
  28. }