set(HEADERS actions.h gui.h main_window.h char_map.h pattern_window.h nametable_window.h dbg_pattern_table.h dbg_nametable.h dbg_palette.h) set(SOURCE actions.c gui.c main_window.c char_map.c pattern_window.c nametable_window.c dbg_pattern_table.c dbg_nametable.c dbg_palette.c) add_library(nes_gui ${SOURCE} ${HEADERS}) add_subdirectory(components) target_link_libraries(nes_gui nes_gui_components log.c SDL2_ttf)