mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-05 18:45:36 +00:00
Updated README instructions
This commit is contained in:
parent
89cf3ae534
commit
8c8e90c904
10
README.md
10
README.md
|
@ -34,20 +34,14 @@ Note what installing NuGet package will add reference to OpenTK.dll, but OpenTK.
|
||||||
will not be copied to the project output directory automatically, so you need to add it to your project
|
will not be copied to the project output directory automatically, so you need to add it to your project
|
||||||
and then enable the "Copy to Output Directory" option (as in step 3 below).
|
and then enable the "Copy to Output Directory" option (as in step 3 below).
|
||||||
|
|
||||||
Alternatively, download the [OpenTK binaries](http://www.opentk.com) and:
|
|
||||||
|
|
||||||
1. Copy OpenTK.dll and OpenTK.dll.config to your project directory
|
|
||||||
2. Use "Add reference" to add OpenTK.dll as a project reference
|
|
||||||
3. Use "Add files" to add OpenTK.dll.config to your project, and enable the "Copy to Output Directory" option.
|
|
||||||
|
|
||||||
To build OpenTK from source, simply double-click OpenTK.sln and build through your IDE.
|
To build OpenTK from source, simply double-click OpenTK.sln and build through your IDE.
|
||||||
|
|
||||||
Alternatively, open a command prompt and type:
|
Alternatively, open a command prompt and type:
|
||||||
```
|
```
|
||||||
git clone https://github.com/opentk/opentk # Download source code from git
|
git clone https://github.com/opentk/opentk # Download source code from git
|
||||||
cd opentk # Enter the source directory
|
cd opentk # Enter the source directory
|
||||||
msbuild /p:Configuration=Release OpenTK.sln # Build on .Net (Windows)
|
./build.cmd # Build on .Net (Windows)
|
||||||
xbuild /p:Configuration=Release OpenTK.sln # Build on Mono (Linux / Mac OS X)
|
./build.sh # Build on Mono (Linux / Mac OS X)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue