add_library(libbase STATIC
    libbase/chrono_utils.cpp
    libbase/cmsg.cpp
    libbase/file.cpp
    libbase/hex.cpp
    libbase/logging.cpp
    libbase/mapped_file.cpp
    libbase/parsebool.cpp
    libbase/parsenetaddress.cpp
    libbase/posix_strerror_r.cpp
    libbase/process.cpp
    libbase/properties.cpp
    libbase/result.cpp
    libbase/stringprintf.cpp
    libbase/strings.cpp
    libbase/threads.cpp
    libbase/test_utils.cpp
    libbase/errors_unix.cpp)

target_include_directories(libbase PUBLIC
	libbase/include core/include)
target_link_libraries(libbase PUBLIC fmt::fmt liblog)
