frontend: line-ed: move platform-specific code to separate directory

This commit is contained in:
2024-11-18 15:15:04 +00:00
parent 29447bf5ec
commit 96172eac84
8 changed files with 871 additions and 10 deletions

View File

@@ -1,6 +1,15 @@
file(GLOB_RECURSE ivy_sources *.c *.h)
string(TOLOWER ${CMAKE_SYSTEM_NAME} system_name)
add_executable(ivy ${ivy_sources})
file(GLOB ivy_sources
*.c *.h
cmd/*.c cmd/*.h
line-ed/*.c line-ed/*.h)
file(GLOB_RECURSE sys_sources
sys/${system_name}/*.c
sys/${system_name}/*.h)
add_executable(ivy ${ivy_sources} ${sys_sources})
target_link_libraries(
ivy
ivy-rt