Luna/wind/CMakeLists.txt
apio 09fab9d96d
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-09-05 10:46:50 +02:00

15 lines
407 B
CMake

set(SOURCES
main.cpp
Screen.h
Screen.cpp
Mouse.h
Mouse.cpp
)
add_executable(wind ${SOURCES})
target_compile_options(wind PRIVATE -Os ${COMMON_FLAGS} -Wno-write-strings)
add_dependencies(wind libc)
target_include_directories(wind PRIVATE ${LUNA_BASE}/usr/include ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(wind PRIVATE os ui)
install(TARGETS wind DESTINATION ${LUNA_BASE}/usr/bin)