You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
461 B
CMake

# Copyright (C) 2021,2022 fef <owo@fef.moe>. All rights reserved.
add_library(gay_kernel STATIC)
target_include_directories(gay_kernel PRIVATE ${GAY_INCLUDE_DIRS})
target_compile_definitions(gay_kernel INTERFACE ${GAY_KERNEL_DEFINITIONS})
target_link_libraries(gay_kernel PRIVATE c gay_arch)
target_sources(gay_kernel PRIVATE
bits.c
clist.c
irq.c
kprintf.c
kqueue.c
main.c
mutex.c
panic.c
sched.c
)
add_subdirectory(mm)