CHORE: cleaning up files and bug fixing
This commit is contained in:
+11
-1
@@ -9,10 +9,20 @@ add_library(libvec STATIC
|
||||
src/int.c
|
||||
src/utils.c
|
||||
src/float.c
|
||||
# src/string.c
|
||||
src/string.c
|
||||
# Add your other types here as you implement them:
|
||||
)
|
||||
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(libstr
|
||||
GIT_REPOSITORY https://git.moomancer.xyz/DarthMooMancer/libstr.git
|
||||
GIT_TAG main
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(libstr)
|
||||
|
||||
target_link_libraries(libvec PRIVATE libstr)
|
||||
|
||||
target_include_directories(libvec
|
||||
# PRIVATE: Internal headers under src/lib are only visible
|
||||
# to files being compiled into libvec (char.c, utils.c, libvec.c).
|
||||
|
||||
Reference in New Issue
Block a user