Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devkitpro/wut
Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
https://github.com/devkitpro/wut
Last synced: 4 days ago
JSON representation
Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
- Host: GitHub
- URL: https://github.com/devkitpro/wut
- Owner: devkitPro
- License: zlib
- Created: 2015-12-27T02:13:05.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T22:34:03.000Z (4 months ago)
- Last Synced: 2024-09-07T02:14:12.399Z (4 months ago)
- Language: C
- Homepage:
- Size: 25.3 MB
- Stars: 234
- Watchers: 17
- Forks: 52
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build status](https://github.com/devkitPro/wut/workflows/C%2FC%2B%2B%20CI/badge.svg)](https://github.com/devkitPro/wut/actions?workflow=C%2FC%2B%2B+CI)
# wut
Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.Licensed under the terms of the zlib License (see [LICENSE.txt](LICENSE.txt)).
## Install
It is recommended to follow [devkitPro's Getting Started guide](https://devkitpro.org/wiki/Getting_Started),
which will guide you through setting up a suitable homebrew development environment.
[devkitPro Pacman](https://devkitpro.org/wiki/devkitPro_pacman) is exclusively used to manage installed
homebrew development components.The following command installs all necessary packages for Wii U homebrew development, including wut:
```
(sudo) (dkp-)pacman -Syu --needed wiiu-dev
```## Usage
See [samples](samples) for examples of how to use wut.devkitPro CMake provides some helpers for your build:
- `wut_create_rpx(target)` - Will create an .rpx file from your CMake target generated by `add_executable`
- `wut_create_rpl(target)` - Will create an .rpl file from your CMake target generated by `add_executable`
- `wut_add_exports(target exports.def)` - Will add exports specified in exports.def for the given target## Building wut projects
### Building wut projects with make
You can easily build any devkitPro Makefile based wut project with the following commands:
```
cd samples/make/helloworld
make
```### Building wut projects with CMake
You can easily build any devkitPro CMake based wut project with the following commands:
```
cd samples/cmake/helloworld
mkdir build && cd build
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake ../
make
```A minimal CMakeLists.txt file for a C++ project might look like:
```
cmake_minimum_required(VERSION 3.7)
project(helloworld_cpp CXX)add_executable(helloworld_cpp main.cpp)
wut_create_rpx(helloworld_cpp)
```## Building from source
**It is strongly recommended to stick to stable released packages installed with devkitPro Pacman.**
Building wut is simple as running the following commands:
```
make
(sudo -E) make install
```