Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit 834f2a8

Browse files
committed
Use git submodules
1 parent d5fc1f0 commit 834f2a8

5 files changed

Lines changed: 11 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,10 @@ jobs:
99
- name: Checkout code
1010
uses: actions/checkout@v2.1.0
1111
id: checkout_code
12-
13-
- name: Setup Chocolatey
14-
run: |
15-
Set-ExecutionPolicy Bypass -Scope Process -Force
16-
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
17-
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
18-
19-
choco install -y sed
20-
Import-Module "$env:ProgramData\Chocolatey\helpers\chocolateyProfile.psm1"
21-
Update-SessionEnvironment
22-
12+
2313
- name: Setup Eigen
2414
run: |
25-
git clone https://gitlab.com/libeigen/eigen "${env:GITHUB_WORKSPACE}/external/eigen"
15+
git submodule update --init
2616
2717
- name: Build Samples
2818
run: |

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "external/eigen"]
2+
path = external/eigen
3+
url = https://gitlab.com/libeigen/eigen

BUILD_AND_DEPLOY.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,9 @@ Follow these steps:
88
- [Install tools for the Windows App development](https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/set-up-your-development-environment?tabs=vs-2022-17-1-a%2Cvs-2022-17-1-b).<br>
99
You'll have to install Visual Studio 2022 or its Build Tools.
1010

11-
- Clone `Eigen3` to `external/`<br>
11+
- Set up external dependencies
1212
```powershell
13-
> git clone https://gitlab.com/libeigen/eigen ./external/eigen
14-
# Reset Eigen to the latest OK state
15-
> cd ./external/eigen
16-
> git reset --hard 1fd5ce1002a6f30e1169b529b291216a18be2f7e
17-
# Go back
18-
> cd ../..
13+
git submodule update --init
1914
```
2015

2116
- Build Samples:<br>

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Each project in the solution is an example of a different possible implementatio
2222
of a tracking device (Later referred to as `K2TrackingDevice`), and an additional one with settings.<br>
2323

2424
<ins>[You can find a detailed description about every single plugin and device type here.](https://github.com/KinectToVR/K2TrackingDevice-Samples/blob/main/DEVICES.md)</ins><br>
25-
[As for a real-world example, please check out this. (JointsBasis w/ custom settings)](https://github.com/KimihikoAkayasaki/device_owoTrackVR)
25+
[As for a real-world example, please check out this. (JointsBasis w/ custom settings)](https://github.com/KimihikoAkayasaki/device_owoTrackVR)
26+
27+
BTW: If you prefer C# to C++ for your device/plugin, please check out [this branch](https://github.com/KinectToVR/K2TrackingDevice-Samples/tree/managed).
2628

2729
Briefly, currently supported device types are:
2830
- Tracking providers:

external/eigen

Submodule eigen added at 1fd5ce1

0 commit comments

Comments
 (0)