X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=Build;h=c6c7e57f6b4b663dd33ff9232f2fce5e182f8891;hb=6222d13e2790bdaa1013444f1221841397834cdd;hp=69d9b6bfa1427c38a55694159578158481b684d0;hpb=d163b3628fee61ea4acad0e9429aab904b03bf70;p=libs%2Fgui.git diff --git a/Build b/Build index 69d9b6b..c6c7e57 100644 --- a/Build +++ b/Build @@ -1,9 +1,10 @@ package "mspgui" { - version "1.1"; + version "2.0"; description "Base graphics and input library"; require "mspcore"; + require "mspdatafile"; require "sigc++-2.0"; if_arch "!windows & !darwin & !android" { @@ -14,6 +15,7 @@ package "mspgui" build_info { library "gdi32"; + library "xinput"; }; }; if_arch "darwin" @@ -83,10 +85,20 @@ package "mspgui" }; }; + feature "vulkan" "Include support for Vulkan contexts" + { + default "no"; + }; + if_feature "vulkan" + { + require "vulkan"; + }; + if_arch "!windows & !darwin & !android" { feature "xrandr" "Include support for video mode switching with XRandR" { + default "yes"; export true; }; if_feature "xrandr" @@ -95,6 +107,11 @@ package "mspgui" }; }; + build_info + { + standard CXX "c++11"; + }; + library "mspgui" { source "source/graphics"; @@ -154,6 +171,10 @@ package "mspgui" { overlay "glx"; }; + if_feature "vulkan" + { + overlay "vkxlib"; + }; }; overlay "generic"; install true; @@ -169,6 +190,12 @@ package "mspgui" use "mspgui"; }; + program "lsmodes" + { + source "examples/lsmodes.cpp"; + use "mspgui"; + }; + source_tarball { source "License.txt";