Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,3 @@ jobs:
mkdir build && cd build
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake ../
make -j2

- name: Build Samples (Make)
run: |
cd samples/make
make -j2

- name: Build Samples (CMake)
run: |
cd samples/cmake
mkdir build && cd build
/opt/devkitpro/portlibs/wiiu/bin/powerpc-eabi-cmake ../
make -j2
34 changes: 1 addition & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,7 @@ The following command installs all necessary packages for Wii U homebrew develop
```

## 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)
```
See [wiiu-examples](https://github.com/devkitPro/wiiu-examples) for examples of how to use wut.

## Building from source

Expand Down
13 changes: 0 additions & 13 deletions samples/cmake/CMakeLists.txt

This file was deleted.

3 changes: 0 additions & 3 deletions samples/cmake/content/README.txt

This file was deleted.

Binary file removed samples/cmake/content/pos_col_shader.gsh
Binary file not shown.
7 changes: 0 additions & 7 deletions samples/cmake/content/pos_col_shader.psh

This file was deleted.

14 changes: 0 additions & 14 deletions samples/cmake/content/pos_col_shader.vsh

This file was deleted.

11 changes: 0 additions & 11 deletions samples/cmake/custom_default_heap/CMakeLists.txt

This file was deleted.

2 changes: 0 additions & 2 deletions samples/cmake/custom_default_heap/exports.def

This file was deleted.

128 changes: 0 additions & 128 deletions samples/cmake/custom_default_heap/main.c

This file was deleted.

10 changes: 0 additions & 10 deletions samples/cmake/erreula/CMakeLists.txt

This file was deleted.

103 changes: 0 additions & 103 deletions samples/cmake/erreula/main.cpp

This file was deleted.

10 changes: 0 additions & 10 deletions samples/cmake/gx2_triangle/CMakeLists.txt

This file was deleted.

Loading
Loading