Luna/terminal/CMakeLists.txt
apio 05a0d912fa
All checks were successful
continuous-integration/drone/pr Build is passing
apps: Add basic terminal app
2023-09-14 22:51:19 +02:00

13 lines
421 B
CMake

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