premake4.lua 550 B

12345678910111213141516171819202122232425262728293031323334
  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. if os.is("Linux") then
  12. buildoptions{"-fPIC"}
  13. end
  14. includedirs {
  15. ".",".."
  16. }
  17. files {
  18. "*.cpp",
  19. "*.h",
  20. "Controls/*.cpp",
  21. "Controls/*.h",
  22. "Controls/Dialog/*.cpp",
  23. "Controls/Dialogs/*.h",
  24. "Controls/Layout/*.h",
  25. "Controls/Property/*.h",
  26. "Input/*.h",
  27. "Platforms/*.cpp",
  28. "Renderers/*.cpp",
  29. "Skins/*.cpp",
  30. "Skins/*.h"
  31. }