meta: add stub compiler, assembler, and runtime libraries
This commit is contained in:
@@ -7,3 +7,6 @@ set(Bluelib_STATIC TRUE)
|
||||
find_package(Bluelib REQUIRED)
|
||||
|
||||
add_subdirectory(ivy)
|
||||
add_subdirectory(libc)
|
||||
add_subdirectory(libasm)
|
||||
add_subdirectory(librt)
|
||||
|
||||
8
libasm/CMakeLists.txt
Normal file
8
libasm/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
file(GLOB_RECURSE libasm_sources *.c *.h include/ivy/*.h)
|
||||
|
||||
add_library(ivy-asm SHARED ${libasm_sources})
|
||||
target_link_libraries(
|
||||
ivy-asm
|
||||
Bluelib::Core
|
||||
Bluelib::Object
|
||||
Bluelib::Cmd)
|
||||
0
libasm/include/ivy/asm.h
Normal file
0
libasm/include/ivy/asm.h
Normal file
0
libasm/misc.c
Normal file
0
libasm/misc.c
Normal file
8
libc/CMakeLists.txt
Normal file
8
libc/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
file(GLOB_RECURSE libc_sources *.c *.h include/ivy/*.h)
|
||||
|
||||
add_library(ivy-c SHARED ${libc_sources})
|
||||
target_link_libraries(
|
||||
ivy-c
|
||||
Bluelib::Core
|
||||
Bluelib::Object
|
||||
Bluelib::Cmd)
|
||||
0
libc/include/ivy/compile.h
Normal file
0
libc/include/ivy/compile.h
Normal file
0
libc/misc.c
Normal file
0
libc/misc.c
Normal file
8
librt/CMakeLists.txt
Normal file
8
librt/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
file(GLOB_RECURSE librt_sources *.c *.h include/ivy/*.h)
|
||||
|
||||
add_library(ivy-rt SHARED ${librt_sources})
|
||||
target_link_libraries(
|
||||
ivy-rt
|
||||
Bluelib::Core
|
||||
Bluelib::Object
|
||||
Bluelib::Cmd)
|
||||
0
librt/include/ivy/rt.h
Normal file
0
librt/include/ivy/rt.h
Normal file
0
librt/misc.c
Normal file
0
librt/misc.c
Normal file
Reference in New Issue
Block a user