API: Cutting my losses and having singular types and files for the 4
types { char, int, float, string } and can come back later to make it
one type to call.
GITIGNORE: Added tests and Makefile to cleanup fuzzyfinder but dont need
them pushed either as I have enough testing done.
This commit is contained in:
+6
-7
@@ -5,13 +5,12 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_library(libvec STATIC
|
||||
src/libvec.c
|
||||
src/lib/char/char.c
|
||||
src/lib/utils/utils.c
|
||||
src/char.c
|
||||
src/int.c
|
||||
src/utils.c
|
||||
src/float.c
|
||||
# src/string.c
|
||||
# Add your other types here as you implement them:
|
||||
# src/lib/float/float.c
|
||||
# src/lib/int/int.c
|
||||
# src/lib/string/string.c
|
||||
)
|
||||
|
||||
target_include_directories(libvec
|
||||
@@ -22,7 +21,7 @@ target_include_directories(libvec
|
||||
# PUBLIC: Consumers (and test_runner) are granted access ONLY to include/
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/lib # Turn back to private when ready
|
||||
# ${CMAKE_CURRENT_SOURCE_DIR}/src/lib # Turn back to private when ready
|
||||
)
|
||||
|
||||
add_executable(libvec_bin src/main.c)
|
||||
|
||||
Reference in New Issue
Block a user