nesemu/gui/CMakeLists.txt

9 lines
489 B
CMake
Raw Normal View History

2024-07-23 18:50:11 -04:00
set(HEADERS canvas.h gui.h window.h main_window.h char_map.h pattern_display.h pattern_window.h nametable_window.h dbg_pattern_table.h dbg_nametable.h)
set(SOURCE canvas.c gui.c window.c main_window.c char_map.c pattern_display.c pattern_window.c nametable_window.c dbg_pattern_table.c dbg_nametable.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)