load files from command line

This commit is contained in:
2024-04-15 01:22:45 -07:00
parent 68f4420b89
commit ae3034065d
4 changed files with 19 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.25)
project(GBpp)
project(GameBoy++)
set(CMAKE_CXX_STANDARD 23)
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
add_executable(GBpp src/main.cpp
add_executable(GameBoy++ src/main.cpp
src/gameboy.cpp
src/opcodeResolver.cpp
src/interupts.cpp
@@ -18,4 +18,4 @@ add_executable(GBpp src/main.cpp
src/testing.hpp
src/joypad.cpp
)
target_link_libraries(GBpp ${SDL2_LIBRARIES})
target_link_libraries(GameBoy++ ${SDL2_LIBRARIES})