mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 04:22:37 +01:00
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
a2247e7b1e
* This manager counts how many times the program has requested the socket library be initialized, so that the socket library is not mistakenly closed while other things are still using sockets. * WHBInitializeSocketLibrary will call socket_lib_init() and also keep a count on how many times it has been called. * WHBDeinitializeSocketLibrary will call socket_lib_finish(), but only if it has been called as many times as WHBInitializeSocketLibrary. |
||
---|---|---|
cmake | ||
docs | ||
externals | ||
include | ||
rules | ||
samples | ||
src | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
appveyor.yml | ||
CMakeLists.txt | ||
LICENSE.md | ||
README.md |
wut
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
Licensed under the terms of the GNU General Public License, version 2 or later (GPLv2+).
Doxygen output can be found at https://decaf-emu.github.io/wut
If you are looking for the old Makefile based wut, that can be found on the legacy-make branch.
Binaries
The latest Windows AppVeyor build is available from:
Requirements
- Tested on Linux, OS X, Windows
- devkitPPC
- CMake
- Make
Linux / OS X
Requires CMake + Make + devkitPPC + 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=install ../
make
make install
export WUT_ROOT=$PWD/install
Then for any wut project you want to build you must use the wut-toolchain.cmake script:
cd ../samples/helloworld
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/cmake/wut-toolchain.cmake ../
make
Windows
Requires Windows CMake + Windows Make + devkitPPC + Visual Studio.
set DEVKITPPC=<Path to devkitPPC>
git clone --recursive https://github.com/decaf-emu/wut.git
cd wut
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=install -G "Visual Studio 15 2017" ../
msbuild INSTALL.vcxproj /p:Configuration=Release /p:Platform=Win32
set WUT_ROOT=%CD%\install
Then for any wut project you want to build you must use Unix Makefiles with the wut-toolchain.cmake script:
cd ..\samples\helloworld
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=%WUT_ROOT%\cmake\wut-toolchain.cmake -G "Unix Makefiles" ../
make