# The UI and graphics library for Luna. file(GLOB HEADERS include/ui/*.h) set(SOURCES ${HEADERS} include/ui/ipc/Server.h include/ui/ipc/Client.h src/Canvas.cpp src/Rect.cpp src/Font.cpp src/Image.cpp src/App.cpp src/Window.cpp src/Layout.cpp src/Alignment.cpp src/Container.cpp ) add_library(ui ${SOURCES}) target_compile_options(ui PRIVATE ${COMMON_FLAGS} -fno-threadsafe-statics) target_include_directories(ui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/) target_include_directories(ui PUBLIC ${LUNA_BASE}/usr/include) target_link_libraries(ui PUBLIC os)