Sega Master System Emulator
This project uses CMake. Create the build files with
cmake -S . -B build
Then run
cmake --build build
The program can then be run with
cd build/src && ./somos
This project uses GoogleTest as the testing framework. To run the tests, build and compile the program and then run
cd build/tests && ./somos_tests
Or
cd build/tests && ctest
I developed this program while using the LSP server clangd
which requires a compile_commands.json
in the project root to work properly. CMake needs to be told to create this file by using the following command to build the project
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -S . -B build
The file can then be added to the project root with a symbolic link
ln -s build/compile_commands.json .