diff options
| author | Lywx <kiritodev01@gmail.com> | 2023-09-25 09:40:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-25 09:40:52 -0600 |
| commit | 2a6fe7dc188d4fce180410a3747e5fe009032634 (patch) | |
| tree | 3bb4a6c3bfa53bfd378ca4bfac05992c0123902b | |
| parent | a4f96f6cabf98da6987ed6e32e6bbcd88f587400 (diff) | |
| parent | b09eb913ce36662a4b32a7845d7f742361832866 (diff) | |
Merge pull request #3 from inspectredc/windows-mac-build-instructions
Update README with more build instructions
| -rw-r--r-- | README.md | 54 |
1 files changed, 52 insertions, 2 deletions
@@ -1,15 +1,65 @@ # CubeOS A generic asset processor for N64 games +# Windows -# Dependencies for WSL Ubuntu +## Visual Studio + +### Dependencies + + * Visual Studio 2022 Community Edition with the C++ feature set + * One of the Windows SDKs that comes with Visual Studio, for example the current Windows 10 version 10.0.19041.0 + * The `MSVC v142 - VS 2019 C++ build tools` component of Visual Studio + * Cmake (can be installed via chocolatey or manually) + +### Compile + +``` powershell +# Setup cmake project +& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Debug +# or for VS2019 +& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Debug +# Compile project +& 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64 ``` + +## WSL Ubuntu + +### Dependencies + +``` bash sudo apt-get install cmake ninja-build libbz2-dev ``` -# Compile +### Compile +``` bash +cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug +cmake --build build-cmake -j ``` + +# Linux + +### Dependencies + +Requires `cmake, ninja-build, libbz2-dev` + +### Compile + +``` bash cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug cmake --build build-cmake -j ``` + +# Mac + +### Dependencies + +Requires Xcode (or xcode-tools) && `cmake, ninja` (can be installed via homebrew, macports, etc) + +### Compile + +``` bash +cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug +cmake --build build-cmake -j +```
\ No newline at end of file |
