nesemu/gui/components/CMakeLists.txt

9 lines
315 B
CMake

set(HEADERS component.h linked_list.h window.h window_menu.h)
set(SOURCE linked_list.c window.c window_menu.c)
add_library(nes_gui_components ${SOURCE} ${HEADERS})
find_package(SDL2 REQUIRED)
include_directories(nes_gui_components ${SDL2_INCLUDE_DIRS})
target_link_libraries(nes_gui_components ${SDL2_LIBRARIES})