Update README.md to reflect changes to cmake functions.

This commit is contained in:
James Benton 2019-11-23 10:13:41 +00:00
parent bffffdf515
commit d47212a867

View File

@ -17,10 +17,10 @@ sudo dkp-pacman -Syu devkitPPC wut-tools wut
## Usage ## Usage
See [samples](samples) for examples of how to use wut. See [samples](samples) for examples of how to use wut.
The [share/wut.cmake](share/wut.cmake) file provides several helpers for your build: The [share/wut.cmake](share/wut.cmake) file provides some helpers for your build:
- `wut_create_rpx(target.rpx executable)` - Will create an .rpx file from your CMake target generated by `add_executable` - `wut_create_rpx(target)` - Will create an .rpx file from your CMake target generated by `add_executable`
- `wut_create_rpl(target.rpl executable)` - Will create an .rpl 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 target - `wut_add_exports(target exports.def)` - Will add exports specified in exports.def for the given target
## Building from source ## Building from source
Requires: Requires: