2016-10-05 23:31:48 +00:00
|
|
|
IF NOT EXIST bin mkdir bin
|
|
|
|
IF NOT EXIST bin\openvr_api.dll copy examples\ThirdPartyLibs\openvr\bin\win32\openvr_api.dll bin
|
2017-02-22 23:50:09 +00:00
|
|
|
IF NOT EXIST bin\openvr64pi.dll copy examples\ThirdPartyLibs\openvr\bin\win64\openvr_api.dll bin\openvr64pi.dll
|
|
|
|
|
|
|
|
#aargh, see https://github.com/ValveSoftware/openvr/issues/412
|
2016-10-05 23:31:48 +00:00
|
|
|
|
2016-10-19 14:42:55 +00:00
|
|
|
|
|
|
|
#find a python version (hopefully just 1) and use this
|
|
|
|
dir c:\python* /b /ad > tmp1234.txt
|
|
|
|
|
|
|
|
set /p myvar1= < tmp1234.txt
|
|
|
|
set myvar=c:/%myvar1%
|
|
|
|
del tmp1234.txt
|
|
|
|
|
|
|
|
#you can also override and hardcode the Python path like this (just remove the # hashmark in next line)
|
|
|
|
#SET myvar=c:\python-3.5.2
|
|
|
|
|
2016-10-05 23:31:48 +00:00
|
|
|
cd build3
|
|
|
|
|
2017-10-25 17:00:45 +00:00
|
|
|
|
|
|
|
premake4 --double --midi --enable_static_vr_plugin --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../bin" vs2010
|
2017-05-02 05:37:45 +00:00
|
|
|
|
|
|
|
#premake4 --serial --audio --double --midi --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../bin" vs2010
|
|
|
|
|
2016-10-05 23:31:48 +00:00
|
|
|
start vs2010
|
2016-10-19 14:42:55 +00:00
|
|
|
|