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