Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@

# debug information files
*.dwo
test_dir/*
data/*
build/*
32 changes: 29 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,33 @@ project(FastDevFS)
find_package(PkgConfig REQUIRED)
pkg_check_modules(FUSE3 REQUIRED fuse3)

add_executable(FastDevFS main.cpp)
target_include_directories(FastDevFS PRIVATE ${FUSE3_INCLUDE_DIRS})

add_executable(FastDevFS
main.cpp

src/src/fuse_functions/getattr.cpp
src/src/fuse_functions/readdir.cpp
src/src/fuse_functions/opendir.cpp
src/src/fuse_functions/mkdir.cpp
src/src/fuse_functions/rmdir.cpp
src/src/fuse_functions/access.cpp
src/src/fuse_functions/statfs.cpp
src/src/fuse_functions/file_funcs.cpp
src/src/fuse_functions/utimens.cpp

src/src/daemon/dir_manager.cpp
src/src/daemon/hash.cpp
src/src/daemon/file_io.cpp
src/src/config.cpp
)

target_include_directories(FastDevFS PRIVATE
${FUSE3_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/src/include
)

target_link_libraries(FastDevFS PRIVATE ${FUSE3_LIBRARIES})
target_compile_options(FastDevFS PRIVATE ${FUSE3_CFLAGS_OTHER})
target_compile_options(FastDevFS PRIVATE ${FUSE3_CFLAGS_OTHER})

enable_testing()
add_subdirectory(test)
Loading