Provide objects for visualizing controllers
[libs/vr.git] / Build
1 package "mspvr"
2 {
3         description "OpenGL-based virtual reality library";
4         version "0.1";
5
6         require "sigc++-2.0";
7         require "mspcore";
8         require "mspgl";
9         require "mspgui";
10
11         feature "libovr" "Support Oculus Rift through LibOVR";
12         feature "openvr" "Support HTC Vive and other devices through OpenVR";
13
14         if_feature "libovr"
15         {
16                 require "libovr";
17                 require "libudev";
18
19                 build_info
20                 {
21                         warning_level 1;
22                 };
23         };
24
25         if_feature "openvr"
26         {
27                 require "openvr";
28         };
29
30         library "mspvr"
31         {
32                 source "source";
33                 if_feature "libovr"
34                 {
35                         source "source/libovr";
36                 };
37                 if_feature "openvr"
38                 {
39                         source "source/openvr";
40                 };
41                 install true;
42                 install_map
43                 {
44                         map "source" "include/msp/vr";
45                 };
46         };
47 };