2023-08-03 10:19:45 +00:00
|
|
|
# The UI and graphics library for Luna.
|
|
|
|
|
|
|
|
file(GLOB HEADERS include/ui/*.h)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
${HEADERS}
|
2023-08-14 16:15:10 +00:00
|
|
|
include/ui/ipc/Server.h
|
|
|
|
include/ui/ipc/Client.h
|
2023-08-03 10:19:45 +00:00
|
|
|
src/Canvas.cpp
|
|
|
|
src/Rect.cpp
|
2023-08-04 14:07:44 +00:00
|
|
|
src/Font.cpp
|
2023-08-04 19:16:31 +00:00
|
|
|
src/Image.cpp
|
2023-08-15 08:23:37 +00:00
|
|
|
src/App.cpp
|
|
|
|
src/Window.cpp
|
2023-08-15 10:28:47 +00:00
|
|
|
src/Layout.cpp
|
2023-08-03 10:19:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(ui ${SOURCES})
|
2023-08-07 17:10:27 +00:00
|
|
|
target_compile_options(ui PRIVATE ${COMMON_FLAGS} -fno-threadsafe-statics)
|
2023-08-03 10:19:45 +00:00
|
|
|
target_include_directories(ui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)
|
|
|
|
target_include_directories(ui PUBLIC ${LUNA_BASE}/usr/include)
|
2023-08-04 14:07:44 +00:00
|
|
|
target_link_libraries(ui PUBLIC os)
|