mirror of
https://github.com/mlaux/gb6.git
synced 2024-06-15 12:29:33 +00:00
build system now working with both CLI and system6
This commit is contained in:
parent
e1be41b0f2
commit
fe43c07883
14
cli/CMakeLists.txt
Normal file
14
cli/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
project(GameBoyEmulator)
|
||||||
|
cmake_minimum_required(VERSION 3.9)
|
||||||
|
|
||||||
|
include_directories(../src)
|
||||||
|
|
||||||
|
add_executable(gb6
|
||||||
|
../src/bootstrap.c
|
||||||
|
../src/cpu.c
|
||||||
|
../src/dmg.c
|
||||||
|
../src/instructions.c
|
||||||
|
../src/lcd.c
|
||||||
|
../src/rom.c
|
||||||
|
emulator.c
|
||||||
|
)
|
6
cli/compile.sh
Executable file
6
cli/compile.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
make
|
||||||
|
cd ..
|
Loading…
Reference in New Issue
Block a user