Luna/editor/CMakeLists.txt
apio d1537e1566
All checks were successful
Build and test / build (push) Successful in 1m46s
editor: Add a basic text editor
2024-02-11 17:10:17 +01:00

13 lines
405 B
CMake

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