Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.07 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.07 KB

Build Status Build status

Work in progress.

Build

Linux

git clone [email protected]:merwaaan/megado.git
git submodule update --init --recursive
./install-deps.sh
./run.sh release ROM

install-deps.sh builds the dependencies in their own folder, and does not install anything into /usr.

The ./run.sh script builds and runs the emulator adding the dependencies on LD_LIBRARY_PATH if the build succeeds.

You can also wrap the binary with tools like valgrind or gdb:

./run.sh -r `valgrind --leak-check=full` debug ROM
./run.sh -r `gdb --args` debug ROM

In this case, using the debug target (no optimizations, debug symbols) is preferable.

Windows

First, initialize the dependencies (requires Msys and Python).

git submodule update --init --recursive
./install-deps-win.sh

Then, use the main MSVC solution megado.sln.