2024-06-16 19:22:40 -04:00
|
|
|
set(HEADERS canvas.h gui.h window.h main_window.h char_map.h pattern_window.h)
|
|
|
|
set(SOURCE canvas.c gui.c window.c main_window.c char_map.c pattern_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})
|
|
|
|
|
2024-06-16 19:22:40 -04:00
|
|
|
target_link_libraries(nes_gui log.c ${SDL2_LIBRARIES} SDL2_ttf)
|