diff src/CMakeLists.txt @ 200:1301727600cc

success build
author anatofuz
date Wed, 22 Jan 2020 21:56:18 +0900
parents 429f0c3cc097
children 08cd784ddbc0 cd9092628a63
line wrap: on
line diff
--- a/src/CMakeLists.txt	Wed Jan 22 19:41:31 2020 +0900
+++ b/src/CMakeLists.txt	Wed Jan 22 21:56:18 2020 +0900
@@ -94,6 +94,8 @@
     file(COPY "${CMAKE_SOURCE_DIR}/interface/" DESTINATION ${CMAKE_KERNEL_DIR_C})
     file(GLOB XV6_HEADERS "${CMAKE_SOURCE_DIR}/*.h")
     file(COPY ${XV6_HEADERS} DESTINATION ${CMAKE_KERNEL_DIR_C})
+    file(GLOB XV6_IMPL_HEADERS "${CMAKE_SOURCE_DIR}/impl/*.h")
+    file(COPY ${XV6_IMPL_HEADERS} DESTINATION ${CMAKE_KERNEL_DIR_C})
     include_directories(${CMAKE_KERNEL_DIR_C})
     add_custom_command (
           OUTPUT    ${CMAKE_KERNEL_DIR_C}/c/${_Gears_TARGET}-context.c
@@ -126,7 +128,7 @@
   SOURCES
 	string.c arm.c asm.S bio.c buddy.c console.cbc exec.c file.cbc fs.c log.c main.c memide.c pipe.cbc proc.cbc spinlock.cbc 
 	start.c swtch.S syscall.cbc sysfile.cbc sysproc.c trap_asm.S trap.c vm.c device/picirq.c device/timer.c device/uart.c 
-  SingleLinkedStack.cbc entry.S impl/vm_impl.cbc
+  SingleLinkedStack.cbc entry.S impl/vm_impl.cbc impl/vm_impl_private.cbc
 )
 
 # sys_read_impl.cbc