diff options
author | Paul Rouget <me@paulrouget.com> | 2019-06-24 09:56:09 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2019-07-03 21:35:43 +0200 |
commit | bc85472f7a6a2be6ea90597c466109fc2a6467b4 (patch) | |
tree | 45272ac9214b9129e9997550d09e70d08f311f7b /docs/hololens.md | |
parent | acde7e04cb1c0b172313d8b7819c5e27f37152d2 (diff) | |
download | servo-bc85472f7a6a2be6ea90597c466109fc2a6467b4.tar.gz servo-bc85472f7a6a2be6ea90597c466109fc2a6467b4.zip |
Hololens documentation
Diffstat (limited to 'docs/hololens.md')
-rw-r--r-- | docs/hololens.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/hololens.md b/docs/hololens.md new file mode 100644 index 00000000000..d87360d5092 --- /dev/null +++ b/docs/hololens.md @@ -0,0 +1,20 @@ +## Servo on Hololens. + +How to compile and run: + +With Visual Studio **2019**: +- Open `support/hololens/ServoApp.sln` +- click on *restore nugets packages* under the context menu of "Solution" (in the right panel). This will automatically download Angle which comes with libEGL.dll, necessary to build servo. + +In your Visual Studio **2017** cmd prompt: +- make sure libEGL.dll is in your `%LIB%` path: `set LIB=%LIB%;c:\XXX\servo\support\hololens\packages\ANGLE.WindowsStore.2.1.13\bin\UAP\x64\` +- compile servo: `mach build -d --uwp` + +With Visual Studio **2019**: +- Select emulator or local machine, select configuration (Debug or Release) and press run +- VS will look for the DLLs and .h in `../../target/debug|release/` (depending on the configuration you selected in VS) and copy them in the final package. + +For now, it's not possible to interact with the web page. + +Note: to build the project with MSBuild: +- `MSBuild ServoApp.sln /p:Configuration=Debug /p:Platform=x64` |