premake4 add option --enable_static_vr_plugin to statically link the VR sync plugin
fix texture caching from previous commit (what happened there?)
This commit is contained in:
@@ -104,11 +104,16 @@ myfiles =
|
||||
|
||||
}
|
||||
|
||||
|
||||
files {
|
||||
myfiles,
|
||||
"main.cpp",
|
||||
}
|
||||
|
||||
if (_OPTIONS["enable_static_vr_plugin"]) then
|
||||
files {"plugins/vrSyncPlugin/vrSyncPlugin.cpp"}
|
||||
end
|
||||
|
||||
|
||||
files {
|
||||
"../MultiThreading/b3ThreadSupportInterface.cpp",
|
||||
@@ -202,6 +207,10 @@ files {
|
||||
"../ExampleBrowser/GL_ShapeDrawer.cpp",
|
||||
"../ExampleBrowser/CollisionShape2TriangleMesh.cpp",
|
||||
}
|
||||
if (_OPTIONS["enable_static_vr_plugin"]) then
|
||||
files {"plugins/vrSyncPlugin/vrSyncPlugin.cpp"}
|
||||
end
|
||||
|
||||
|
||||
if os.is("Linux") then initX11() end
|
||||
|
||||
@@ -353,6 +362,10 @@ if os.is("Windows") then
|
||||
"../ThirdPartyLibs/openvr/samples/shared/pathtools.h",
|
||||
"../ThirdPartyLibs/openvr/samples/shared/Vectors.h",
|
||||
}
|
||||
if (_OPTIONS["enable_static_vr_plugin"]) then
|
||||
files {"plugins/vrSyncPlugin/vrSyncPlugin.cpp"}
|
||||
end
|
||||
|
||||
if os.is("Windows") then
|
||||
configuration {"x32"}
|
||||
libdirs {"../ThirdPartyLibs/openvr/lib/win32"}
|
||||
|
||||
Reference in New Issue
Block a user