"Ocean beyond the Horizon"
Hydrosphère is a work in progress C++ toolchain targeting the Nintendo Switch userland.
-
Make sure you have installed the dependencies:
llvm
8.x or laterclang
8.x or latermeson
0.51 or laterlinkle
0.2.7 or later (Releases: here)ninja
make
git
-
Clone the source with
git
:$ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git $ cd Hydrosphere
-
Choose Hydrosphère sysroot and export it:
$ export HYDROSPHERE_SYSROOT=<path to your sysroot>
-
Build and deploy Hydrosphère to
$HYDROSPHERE_SYSROOT
:$ make deploy
-
Install MSYS2
-
Make sure you have installed the dependencies and that you are running under MINGW64 shell:
# Install dependencies $ pacman -S mingw-w64-x86_64-llvm mingw-w64-x86_64-clang mingw-w64-x86_64-lld mingw-w64-x86_64-meson mingw-w64-x86_64-ninja make wget gunzip git # Install linkle manually $ mkdir -p $HOME/bin $ wget -nc -O - https://github.com/MegatonHammer/linkle/releases/download/v0.2.7/linkle-v0.2.7-x86_64-pc-windows-msvc.zip | gunzip > $HOME/bin/linkle.exe # Add ~/bin to PATH for new shell instances $ echo "export PATH=\"\$HOME/bin:\$PATH\"" >> $HOME/.bashrc # Add ~/bin to PATH for this shell instance $ export PATH="$HOME/bin:$PATH"
-
Clone the source with
git
:$ git clone --recursive https://github.com/hydrosphere-nx/Hydrosphere.git $ cd Hydrosphere
-
Choose Hydrosphère sysroot and export it:
$ export HYDROSPHERE_SYSROOT=<path to your sysroot>
-
Build and deploy Hydrosphère to
$HYDROSPHERE_SYSROOT
:$ make deploy
Documentation is hosted on our github pages.
Hydrosphère is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at the user's choice.
See LICENSE-APACHE and LICENSE-MIT.