# Palladium
## Build types
```bash
PD_EXTENDED_DEBUG=0 # Include things like ResultDecoder and Check for Memory usage
PD_DEBUG=0 # not yet
PD_NO_SAFE_CODE=0 # Remove All not important safetey checks
```
## Building
Install Dependencies:
```bash
# This Command will install everything
(dkp-)pacman -S --noconfirm 3ds-dev 3ds-portlibs
```
Building:
If you want to have the lib in a projects `libs` dir or so you can simply add `-DCMAKE_INSTALL_PREFIX=./res` to the cmake command and copy the dirs from res to you libs folder
For Debug build the Cmake Script generates a `libpalladiumd.a`
```bash
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release # Make sure to build in Release Mode (exept you want to debug some issues)
make
make install
```
## Credits
| Icon | Username | Description |
|---|---|---|
|
| [tobid7](https://github.com/tobid7) | main dev of RenderD7, Palladium |
|
| [devkitpro](https://github.com/devkitpro) | devkitarm, picasso, libctru and citro3d |
|
| [Universal-Team](https://github.com/Universal-Team) | Inspiration for Lang System, Cia Installer Code |
|
| [nothings](https://github.com/nothings) | stb_image(_write) and stb_truetype |
|
| [nlohmann](https://github.com/nlohmann) | for json.hpp |