build system fixes

This commit is contained in:
Erwin Coumans
2017-05-13 13:50:35 -07:00
parent ef7a7f9004
commit e954374e56
3 changed files with 10 additions and 7 deletions

View File

@@ -199,6 +199,7 @@ if not _OPTIONS["no-enet"] then
end
if _OPTIONS["serial"] then
project ("App_VRGloveHandSimulator")
@@ -248,12 +249,11 @@ project ("App_VRGloveHandSimulator")
}
defines {"B3_ENABLE_TINY_AUDIO"}
if _OPTIONS["serial"] then
defines{"B3_ENABLE_SERIAL"}
includedirs {"../../examples/ThirdPartyLibs/serial/include"}
links {"serial"}
end
defines{"B3_ENABLE_SERIAL"}
includedirs {"../../examples/ThirdPartyLibs/serial/include"}
links {"serial"}
if os.is("Windows") then
links {"winmm","Wsock32","dsound"}
defines {"WIN32","__WINDOWS_MM__","__WINDOWS_DS__"}
@@ -280,3 +280,4 @@ project ("App_VRGloveHandSimulator")
if os.is("Linux") then
initX11()
end
end