1.6 KiB
1.6 KiB
BreadedSNES
BreadedSNES is an up-and-coming cross-platform Super Nintendo (SNES) emulator written in modern C++23. SDL2 is used for audio, video, and input support.
Note, this does not function currently. Maybe it'll boot something in the future. Now is certainly not that time.
Build Instructions
Prerequisites
You will need:
- CMake ≥ 3.16
- C++23-compatible compiler (GCC, Clang, or MSVC)
- SDL2 development libraries
Windows
-
Clone the repository and vcpkg:
git clone https://github.com/microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.bat -
Install SDL2:
./vcpkg install sdl2 -
Build the project:
cd path/to/breadedSNES cmake -B build -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release cmake --build build --config Release
macOS
-
Install dependencies:
brew install cmake sdl2 -
Build the project:
cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --config Release
🐧 Linux
-
Install dependencies:
apt:
sudo apt install cmake build-essential libsdl2-dev pkg-configpacman:
sudo pacman -S cmake sdl2 pkgconf -
Build the project:
cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --config Release
Packaging
To create distributable packages (e.g. .zip, .dmg, .tgz), run:
cd build
cpack