target_include_directories(kernel.elf PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

target_sources(kernel.elf PRIVATE
        mutex.cpp
        cppsupport.cpp
        Spinlock.cpp
        LockGuard.cpp
        rand.cpp
        VMA.cpp
        asserts.cpp
        TtyManager.cpp
        Tty.cpp
        cv.cpp
        BytesFormatter.cpp
        string.c
        TestTemplates.cpp
        Framebuffer.cpp
        FbTty.cpp
)

add_subdirectory(templates)
add_subdirectory(vfs)
add_subdirectory(elf)