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