mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 12:28:13 +01:00
Update README.md
This commit is contained in:
parent
4891278425
commit
23c56959b3
12
README.md
12
README.md
@ -8,21 +8,21 @@ Licensed under the terms of the GNU General Public License, version 2 or later (
|
||||
## Rewrite
|
||||
This branch is an WIP experimental rewrite to simplify how elf2rpl works and hopefully make it more correct for more advanced C++ programs.
|
||||
|
||||
## TODO:
|
||||
- Maybe add fopen for sdcard ?
|
||||
## Requirements
|
||||
- Custom [devkitPPC](https://github.com/exjam/buildscripts)
|
||||
|
||||
## Linux
|
||||
Requires CMake + Make + [devkitPPC](https://devkitpro.org/wiki/Getting_Started/devkitPPC) + libzdev
|
||||
Requires CMake + Make + [devkitPPC](https://github.com/exjam/buildscripts) + libzdev
|
||||
|
||||
```
|
||||
export DEVKITPPC=<Path to devkitPPC>
|
||||
git clone --recursive https://github.com/decaf-emu/wut.git
|
||||
cd wut
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ../
|
||||
cmake -DCMAKE_INSTALL_PREFIX=<path/to/install> -DDEVKITPPC=$DEVKITPPC ../
|
||||
make
|
||||
make install
|
||||
export WUT_ROOT=/path/to/install
|
||||
export WUT_ROOT=<path/to/install>
|
||||
```
|
||||
|
||||
Then for any wut project you want to build you must use the wut.toolchain.cmake script:
|
||||
@ -30,6 +30,6 @@ Then for any wut project you want to build you must use the wut.toolchain.cmake
|
||||
```
|
||||
cd ../samples/helloworld
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake ../
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DDEVKITPPC=$DEVKITPPC -DWUT_ROOT=$WUT_ROOT ../
|
||||
make
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user