Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.36 KB

README.md

File metadata and controls

69 lines (51 loc) · 1.36 KB

m68k-emu

Motorola 68000 CPU Emulator as C++ library

Built With

(back to top)

How to build

Prerequisites

Make sure you have CMake installed and you have C++20 compatible compiler.

Release

git clone https://github.com/Marcin648/m68k-emu
cd m68k-emu
git submodule update --init --recursive
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j$(nproc)

Debug

git clone https://github.com/Marcin648/m68k-emu
cd m68k-emu
git submodule update --init --recursive
mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)

(back to top)

Usage

  1. Clone this repository inside libs directory in yours project
  2. Add subdirectory and include directory to yours CMakeList.txt
    add_subdirectory(libs/m68k-emu)
    include_directories(libs/m68k-emu/include)
    
  3. Link m68k-emu library
    target_link_libraries(myproject PRIVATE m68k-emu)
    

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)