Implement a basic OpenVR driver
[libs/vr.git] / Build
diff --git a/Build b/Build
index 06d04e0654424dd26e810538236f684ce2493d5c..85616de0de6e36f7815099c88abe758cc0ec6539 100644 (file)
--- a/Build
+++ b/Build
@@ -4,8 +4,10 @@ package "mspvr"
        version "0.1";
 
        require "mspgl";
+       require "mspgui";
 
        feature "libovr" "Support Oculus Rift through LibOVR";
+       feature "openvr" "Support HTC Vive and other devices through OpenVR";
 
        if_feature "libovr"
        {
@@ -18,6 +20,11 @@ package "mspvr"
                };
        };
 
+       if_feature "openvr"
+       {
+               require "openvr";
+       };
+
        library "mspvr"
        {
                source "source";
@@ -25,6 +32,10 @@ package "mspvr"
                {
                        source "source/ovr";
                };
+               if_feature "openvr"
+               {
+                       source "source/openvr";
+               };
                install true;
                install_map
                {