Iniciando un buen sistema de callbacks!

This commit is contained in:
2025-06-26 20:59:49 -04:00
parent b186b25a9c
commit 4d129018e3
10 changed files with 151 additions and 57 deletions

View File

@@ -1,15 +1,30 @@
add_executable(${PROJECT_NAME})
file(GLOB CHIP8_SOURCES "*.cpp" "**/*.cpp")
file(GLOB CHIP8_HEADERS "*.h" "**/*.h")
message(CHIP8_SOURCES="${CHIP8_SOURCES}")
message(CHIP8_HEADERS="${CHIP8_HEADERS}")
target_sources(
${PROJECT_NAME}
PRIVATE
${CHIP8_SOURCES}
${CHIP8_HEADERS}
main.cpp
Machine.cpp
Machine.h
Graphics/Graphics.cpp
Graphics/Graphics.h
Graphics/Color.h
Interpreter/Interpreter.cpp
Interpreter/Interpreter.h
Interpreter/Instruction.h
Interpreter/MachineState.cpp
Interpreter/MachineState.h
Interpreter/OpCode.h
UI/CallbackManager.cpp
UI/CallbackManager.h
UI/ControlPanel.cpp
UI/ControlPanel.h
UI/Display.cpp
UI/Display.h
UI/UIManager.cpp
UI/UIManager.h
)
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
target_link_libraries(${PROJECT_NAME} PRIVATE vendor)