add --serial option in premake, added serial library to test vr glove in C++ (pybullet works already fine)
This commit is contained in:
@@ -158,6 +158,12 @@ end
|
||||
description = "Double precision version of Bullet"
|
||||
}
|
||||
|
||||
newoption
|
||||
{
|
||||
trigger = "serial",
|
||||
description = "Enable serial, for testing the VR glove in C++"
|
||||
}
|
||||
|
||||
newoption
|
||||
{
|
||||
trigger = "audio",
|
||||
@@ -259,6 +265,10 @@ end
|
||||
include "../examples/TinyAudio"
|
||||
end
|
||||
|
||||
if _OPTIONS["serial"] then
|
||||
include "../examples/ThirdPartyLibs/serial"
|
||||
end
|
||||
|
||||
if not _OPTIONS["no-demos"] then
|
||||
include "../examples/ExampleBrowser"
|
||||
include "../examples/RobotSimulator"
|
||||
|
||||
Reference in New Issue
Block a user