This repository has been archived by the owner on May 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from HipsterSloth/openvr_update
The Grand SteamVRInput Update
- Loading branch information
Showing
167 changed files
with
14,579 additions
and
5,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "thirdparty/openvr"] | ||
path = thirdparty/openvr | ||
url = https://github.com/ValveSoftware/openvr.git | ||
[submodule "thirdparty/Configuru"] | ||
path = thirdparty/Configuru | ||
url = https://github.com/emilk/Configuru.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Note: For now this build script just builds doxygen pages and deploys them to the gh-branch on each commit. | ||
# When the PSMoveService has a linux library published (WIP) uncomment the build to compile | ||
# against linux. | ||
language: cpp | ||
addons: | ||
apt: | ||
packages: cmake | ||
before_install: | ||
- sudo apt-get update && sudo apt-get install doxygen | ||
# TODO uncomment this when PSMoveService has a linux published library | ||
# - generate.sh | ||
script: | ||
doxygen doc/Doxyfile # Generate Doxygen Documentation | ||
# TODO uncomment this when PSMoveService has a linux published library | ||
# - build.sh | ||
deploy: # Publish static Doxygen html files to gh-pages branch, accessible at https://<username>.github.io/PSMoveSteamVRBridge | ||
provider: pages | ||
skip-cleanup: true | ||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure | ||
keep-history: true | ||
local-dir: docs/html | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
version: '{build}' | ||
branches: | ||
only: | ||
- master | ||
clone_folder: c:\projects\PSMoveSteamVR | ||
image: | ||
- Visual Studio 2017 | ||
configuration: | ||
- Release | ||
- Debug | ||
platform: | ||
- x64 | ||
environment: | ||
matrix: | ||
- arch: Win64 | ||
# - arch: #does not work, Release|x64 not a valid target | ||
matrix: | ||
fast_finish: true | ||
|
||
# skip unsupported combinations | ||
init: | ||
- set arch= | ||
- if "%arch%"=="Win64" ( set arch= Win64) | ||
- echo %arch% | ||
- echo %APPVEYOR_BUILD_WORKER_IMAGE% | ||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" ) | ||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" ) | ||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" ) | ||
- echo %generator% | ||
|
||
before_build: | ||
- cmd: |- | ||
cmake --version | ||
clean.bat | ||
generate.bat | ||
build_script: | ||
c:\projects\PSMoveSteamVR\build.bat | ||
only_commits: | ||
files: | ||
- CMakeLists.txt | ||
- appveyor.yml | ||
- build.bat | ||
- clean.bat | ||
- generate.bat | ||
- src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@echo off | ||
|
||
::Build driver | ||
call :buildDriver || goto handleError | ||
|
||
::Exit batch script | ||
goto exit | ||
|
||
::--------------------------- | ||
::|Function definitions below | ||
::--------------------------- | ||
|
||
::Function runs INSTALL cmake target which will build the driver as either debug/release | ||
:buildDriver | ||
echo "Build Type=%BUILD_TYPE%" | ||
cmake --build generated --target INSTALL --config %BUILD_TYPE% | ||
goto:eof | ||
|
||
:handleError | ||
echo "BUILD FAILED" | ||
exit /b 1 | ||
goto:eof | ||
|
||
:exit | ||
echo "BUILD SUCCESSFUL" | ||
exit /b 0 | ||
goto:eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# PSMoveSteamVR VS Specific | ||
driver.version=1.6.0 | ||
|
||
# Build type < Debug | Release > | ||
build.type=Release | ||
|
||
# CMake build generator tools : https://cmake.org/cmake/help/v3.11/manual/cmake-generators.7.html | ||
# | ||
# Makefile Generators: | ||
# Borland Makefiles | ||
# MSYS Makefiles | ||
# MinGW Makefiles | ||
# NMake Makefiles | ||
# NMake Makefiles JOM | ||
# Unix Makefiles | ||
# Watcom WMake | ||
# | ||
# Visual Studio Generators: | ||
# Visual Studio 6 Win64 | ||
# Visual Studio 7 Win64 | ||
# Visual Studio 7 .NET 2003 Win64 | ||
# Visual Studio 8 2005 Win64 | ||
# Visual Studio 9 2008 Win64 | ||
# Visual Studio 10 2010 Win64 | ||
# Visual Studio 11 2012 Win64 | ||
# Visual Studio 12 2013 Win64 | ||
# Visual Studio 14 2015 Win64 | ||
# Visual Studio 15 2017 Win64 | ||
# | ||
# Ninja Generator: | ||
# Ninja | ||
# | ||
# Other Generators: | ||
# Green Hills MULTI | ||
# Xcode | ||
# | ||
# Extra Generators: | ||
# CodeBlocks | ||
# CodeLite | ||
# Eclipse CDT4 | ||
# Kate | ||
# Sublime Text 2 | ||
cmake.build.generator.windows=Visual Studio 14 2015 Win64 | ||
cmake.build.generator.linux=Unix Makefiles | ||
cmake.build.generator.OSX=Xcode | ||
|
||
# Dependencies | ||
psmoveservice.package.name=psmoveservice-sdk | ||
psmoveservice.package.url=https://github.com/cboulay/PSMoveService/releases/download/v0.9-alpha9.0.1/PSMoveService_0.9_alpha9.0.1.zip | ||
psmoveservice.package.version=v0.9-alpha9.0.1 | ||
|
||
openvr.package.name=openvr-sdk | ||
openvr.package.url=https://github.com/ValveSoftware/openvr/archive/v1.0.17.zip | ||
openvr.pacakge.version=v1.0.17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
#Function to build driver | ||
buildDriver(){ | ||
local BUILD_TYPE=$1 | ||
cmake --build ide --target INSTALL --config $BUILD_TYPE || return $? | ||
echo BUILD SUCCESS | ||
echo -e "\E[1;32mBUILD SUCCESS\E[;0m"; | ||
exit 0 | ||
} | ||
|
||
#Function to handle errors | ||
function handleError() { | ||
error_msg="BUILD FAILED" | ||
echo -e "\E[1;31m$error_msg\E[;0m"; | ||
exit 1; | ||
} | ||
|
||
|
||
# this will trap any errors or commands with non-zero exit status | ||
# by calling function catch_errors() | ||
trap handleError ERR; | ||
|
||
#Main entry point | ||
buildDriver |
Oops, something went wrong.