- Setup Basic Implementation for String Library
This commit is contained in:
@@ -121,6 +121,9 @@ add_library(fennec STATIC
|
||||
include/fennec/fproc/strings/string.h
|
||||
|
||||
include/fennec/fproc/strings/detail/__ctype.h
|
||||
include/fennec/fproc/strings/cstring.h
|
||||
include/fennec/fproc/strings/locale.h
|
||||
include/fennec/fproc/io/file.h
|
||||
)
|
||||
|
||||
# add metaprogramming templates as a dependency and also force documentation to be generated when fennec is compiled
|
||||
@@ -139,7 +142,7 @@ endif()
|
||||
|
||||
target_compile_options(fennec PUBLIC "-mavx" "-mavx2" "-mavx512f") # SIMD Instructions, automatic vectorization will occur
|
||||
|
||||
target_link_options(fennec PRIVATE "-nostdlib -nodefaultlibs -fno-exceptions") # Do not compile base fennec library with c++ stdlib
|
||||
target_link_options(fennec PRIVATE "-nostdlib -nodefaultlibs -fno-exceptions -fdiagnostics-all-candidates") # Do not compile base fennec library with c++ stdlib
|
||||
# fennec does not use the C++ stdlib because it is bloated, difficult to read, and implementation defined.
|
||||
# This implementation is designed to be as readable as possible, and expose information that would otherwise be obfuscated
|
||||
|
||||
|
||||
Reference in New Issue
Block a user