Files
CHIP-8/src/CMakeLists.txt
2025-06-27 00:58:05 -04:00

35 lines
848 B
CMake

add_executable(${PROJECT_NAME}
)
target_sources(
${PROJECT_NAME}
PRIVATE
main.cpp
Machine.cpp
Machine.h
Graphics/Graphics.cpp
Graphics/Graphics.h
Graphics/Color.h
Interpreter/MachineState.cpp
Interpreter/MachineState.h
Interpreter/Interpreter.cpp
Interpreter/Interpreter.h
Interpreter/Instruction.h
Interpreter/OpCode.h
UI/CallbackManager.cpp
UI/CallbackManager.h
UI/ControlPanel.cpp
UI/ControlPanel.h
UI/Display.cpp
UI/Display.h
UI/MemoryViewer.cpp
UI/MemoryViewer.h
UI/RomInfo.cpp
UI/RomInfo.h
UI/UIManager.cpp
UI/UIManager.h
)
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
target_link_libraries(${PROJECT_NAME} PRIVATE vendor)