13 lines
421 B
CMake
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)
|