2023-08-03 10:20:59 +00:00
|
|
|
set(SOURCES
|
|
|
|
main.cpp
|
|
|
|
Screen.h
|
|
|
|
Screen.cpp
|
|
|
|
Mouse.h
|
|
|
|
Mouse.cpp
|
2023-08-03 15:38:49 +00:00
|
|
|
Window.h
|
|
|
|
Window.cpp
|
2023-08-03 10:20:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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)
|