#  Header files
file(GLOB BITS
fs-path.h fs-error.h fs-status.h fs-opers.h fs-dir.h fs-search-path.h
)


#  Header files
file(GLOB NOINST
fs-poxis-api.h
)


#   Install the header files
install(FILES ${BITS} DESTINATION include/deductor/cxx/filesystem)


#  This is the includedir that is used to compile the sources
include_directories("${PROJECT_SOURCE_DIR}")


# source files
file(GLOB SOURCES
fs-posix-api.cc fs-path.cc fs-error.cc fs-status.cc fs-opers.cc fs-dir.cc
)


add_library(filesystem OBJECT ${SOURCES})
set_property(TARGET filesystem PROPERTY POSITION_INDEPENDENT_CODE true)

