diff --git a/CMakeLists.txt b/CMakeLists.txt index f6987c6..8971508 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +project(GameBoyEmulator) +cmake_minimum_required(VERSION 3.9) add_application(Emulator src/bootstrap.c src/cpu.c diff --git a/compile.sh b/compile.sh new file mode 100755 index 0000000..ee62459 --- /dev/null +++ b/compile.sh @@ -0,0 +1,6 @@ +#!/bin/sh +mkdir -p build +cd build +cmake .. -DCMAKE_TOOLCHAIN_FILE=../../Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake +make +cd ..