+ feature "quartz" "Include Quartz support for loading image files"
+ {
+ default "yes";
+ };
+ if_feature "quartz"
+ {
+ build_info
+ {
+ library "ApplicationServices.framework";
+ };
+ };
+ };
+
+ feature "opengl" "Include support for OpenGL contexts"
+ {
+ default "yes";
+ };
+ if_feature "opengl"
+ {
+ if_arch "android"
+ {
+ require "opengles";
+ };
+ if_arch "!android"
+ {
+ require "opengl";
+ };
+ };
+
+ if_arch "!windows & !darwin & !android"
+ {
+ feature "xrandr" "Include support for video mode switching with XRandR"
+ {
+ export true;
+ };
+ if_feature "xrandr"
+ {
+ require "xrandr";
+ };
+ };
+
+ library "mspgui"
+ {
+ source "source/graphics";