Make sure you have CMake installed and you have C++20 compatible compiler.
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)
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)
- Clone this repository inside libs directory in yours project
- Add subdirectory and include directory to yours CMakeList.txt
add_subdirectory(libs/m68k-emu) include_directories(libs/m68k-emu/include)
- Link m68k-emu library
target_link_libraries(myproject PRIVATE m68k-emu)
Distributed under the MIT License. See LICENSE.txt
for more information.