1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00

mymake:: option -vr

This commit is contained in:
Zeno Rogue 2021-03-06 14:53:48 +01:00
parent f00696711a
commit 3eff38bb4d

View File

@ -203,6 +203,12 @@ int main(int argc, char **argv) {
} }
else if(s.substr(0, 2) == "-I") else if(s.substr(0, 2) == "-I")
opts += " " + s; opts += " " + s;
else if(s == "-vr") {
obj_dir += "/vr";
setdir += "../";
linker += " -lopenvr_api";
opts += " -DCAP_VR=1 -I/usr/include/openvr/";
}
else if(s == "-rv") { else if(s == "-rv") {
if(standard == default_standard) { if(standard == default_standard) {