diff options
| author | coco875 <pereira.jannin@gmail.com> | 2024-01-24 21:26:29 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-01-24 16:52:59 -0600 |
| commit | 6b98f3eb9299eafa4ed28a869322d2c921f3dc4d (patch) | |
| tree | e832c913c7d65d20bf69a56038306c0a23fcd185 /README.md | |
| parent | 656440aeee9d872ccbe83a0bafbae880c1a2f199 (diff) | |
add docker and windows build
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -31,16 +31,10 @@ A generic asset processor for N64 games ### Dependencies -#### Ubuntu ``` bash sudo apt-get install cmake ninja-build libbz2-dev ``` -#### Fedora -``` bash -sudo dnf install cmake ninja-build -``` - ### Compile ``` bash @@ -72,4 +66,22 @@ Requires Xcode (or xcode-tools) && `cmake, ninja` (can be installed via homebrew ``` bash cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug cmake --build build-cmake -j +``` + +# Docker + +Build the Docker image: +``` bash +docker build -t torch . +``` + +When building and using other tools, append the following in front of every command you run: +``` bash +docker run --rm -v .:/torch torch +``` + +For example: +``` bash +docker run --rm -v .:/torch torch cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug +docker run --rm -v .:/torch torch cmake --build build-cmake -j ```
\ No newline at end of file |
