mirror of
https://github.com/mlaux/gb6.git
synced 2025-01-06 12:31:12 +00:00
more build system stuff
This commit is contained in:
parent
de5fcfaf00
commit
e1be41b0f2
@ -1,12 +0,0 @@
|
|||||||
project(GameBoyEmulator)
|
|
||||||
cmake_minimum_required(VERSION 3.9)
|
|
||||||
add_application(Emulator
|
|
||||||
src/bootstrap.c
|
|
||||||
src/cpu.c
|
|
||||||
src/dmg.c
|
|
||||||
src/emulator.c
|
|
||||||
src/instructions.c
|
|
||||||
src/lcd.c
|
|
||||||
src/rom.c
|
|
||||||
resources.r
|
|
||||||
)
|
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
mkdir -p build
|
|
||||||
cd build
|
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../../Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
|
|
||||||
make
|
|
||||||
cd ..
|
|
15
system6/CMakeLists.txt
Normal file
15
system6/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
project(GameBoyEmulator)
|
||||||
|
cmake_minimum_required(VERSION 3.9)
|
||||||
|
|
||||||
|
include_directories(../src)
|
||||||
|
|
||||||
|
add_application(Emulator
|
||||||
|
../src/bootstrap.c
|
||||||
|
../src/cpu.c
|
||||||
|
../src/dmg.c
|
||||||
|
../src/instructions.c
|
||||||
|
../src/lcd.c
|
||||||
|
../src/rom.c
|
||||||
|
emulator.c
|
||||||
|
resources.r
|
||||||
|
)
|
6
system6/compile.sh
Executable file
6
system6/compile.sh
Executable file
@ -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 ..
|
Loading…
Reference in New Issue
Block a user