nesemu/gui/CMakeLists.txt

13 lines
480 B
CMake
Raw Normal View History

2024-09-01 15:54:41 -04:00
set(HEADERS gui.h main_window.h)
set(SOURCE gui.c main_window.c)
2024-07-25 21:22:00 -04:00
if (NES_DEBUG)
2024-08-03 21:51:31 -04:00
list(APPEND HEADERS char_map.h pattern_window.h nametable_window.h dbg_pattern_table.h dbg_nametable.h dbg_palette.h)
list(APPEND SOURCE char_map.c pattern_window.c nametable_window.c dbg_pattern_table.c dbg_nametable.c dbg_palette.c)
2024-07-25 21:22:00 -04:00
endif (NES_DEBUG)
2024-05-17 00:33:37 -04:00
add_library(nes_gui ${SOURCE} ${HEADERS})
2024-09-01 15:54:41 -04:00
add_subdirectory(components)
2024-05-17 00:33:37 -04:00
2024-09-01 15:54:41 -04:00
target_link_libraries(nes_gui nes_gui_components log.c SDL2_ttf)