Files
bullet3/build_visual_studio_vr_pybullet_double.bat
2020-02-12 10:55:54 +01:00

29 lines
1.5 KiB
Batchfile

IF NOT EXIST bin mkdir bin
IF NOT EXIST bin\openvr_api.dll copy examples\ThirdPartyLibs\openvr\bin\win32\openvr_api.dll bin
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
REM #find a python version (hopefully just 1) and use this
REM dir c:\python* /b /ad > tmp1234.txt
REM set /p myvar1= < tmp1234.txt
REM set myvar=c:/%myvar1%
REM del tmp1234.txt
rem you can also override and hardcode the Python path like this (just remove the # hashmark in next line)
SET myvar=C:\Users\Bart\AppData\Local\Programs\Python\Python36
cd build3
premake4 --double --standalone-examples --enable_stable_pd --enable_multithreading --midi --enable_static_vr_plugin --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../bin" vs2010
rem premake4 --double --enable_multithreading --midi --enable_static_vr_plugin --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../binserver" vs2010
rem premake4 --double --enable_grpc --enable_multithreading --midi --enable_static_vr_plugin --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../binserver" vs2010
rem premake4 --serial --audio --double --midi --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../bin" vs2010
start vs2010