2024-11-18 15:15:04 +00:00
|
|
|
string(TOLOWER ${CMAKE_SYSTEM_NAME} system_name)
|
2024-11-01 21:41:44 +00:00
|
|
|
|
2024-11-18 15:15:04 +00:00
|
|
|
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})
|
2024-11-01 21:41:44 +00:00
|
|
|
target_link_libraries(
|
|
|
|
|
ivy
|
2024-11-13 21:37:49 +00:00
|
|
|
ivy-rt
|
|
|
|
|
ivy-asm
|
|
|
|
|
ivy-lang
|
|
|
|
|
ivy-common
|
2024-11-01 21:41:44 +00:00
|
|
|
Bluelib::Core
|
|
|
|
|
Bluelib::Object
|
|
|
|
|
Bluelib::Cmd)
|
2024-12-06 19:48:20 +00:00
|
|
|
|
|
|
|
|
target_compile_definitions(ivy PRIVATE IVY_STATIC=${IVY_STATIC})
|