2024-05-17 11:40:02 -04:00
|
|
|
set(HEADERS canvas.h gui.h window.h)
|
|
|
|
set(SOURCE canvas.c gui.c window.c)
|
2024-05-17 00:33:37 -04:00
|
|
|
|
|
|
|
add_library(nes_gui ${SOURCE} ${HEADERS})
|
|
|
|
|
|
|
|
find_package(SDL2 REQUIRED)
|
|
|
|
include_directories(nes_gui ${SDL2_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
target_link_libraries(nes_gui log.c ${SDL2_LIBRARIES})
|