diff options
author | Manuel Bentele | 2020-10-16 17:15:49 +0200 |
---|---|---|
committer | Manuel Bentele | 2020-10-16 17:15:49 +0200 |
commit | 969496f15e1e0359e26c2c6e995ad4ef82720f86 (patch) | |
tree | 358466216630eb10e8ee91b9ede490424f6db848 /src/server/fuse.c | |
parent | [FUSE] turn on compiler optimization to fix warning (diff) | |
download | dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.tar.gz dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.tar.xz dnbd3-969496f15e1e0359e26c2c6e995ad4ef82720f86.zip |
[BUILD] rewrite CMake build system to track changes of source files
This change restructures the source code directories, separates shared
form non-shared application code and adds CMake dependencies. These
dependencies allow the tracking of changes and trigger a rebuild of
those build targets where changed files are involved.
WARNING: Note that the support of the DNBD3_SERVER_AFL build option is
not supported yet. Thus, the option should be never turned on.
Diffstat (limited to 'src/server/fuse.c')
-rw-r--r-- | src/server/fuse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/fuse.c b/src/server/fuse.c index e2ebf23..12913a6 100644 --- a/src/server/fuse.c +++ b/src/server/fuse.c @@ -1,8 +1,8 @@ #include "fuse.h" -#include "../types.h" -#include "../shared/log.h" +#include <dnbd3/types.h> +#include <dnbd3/shared/log.h> -#ifndef BUILD_SERVER_FUSE +#ifndef DNBD3_SERVER_FUSE // bool dfuse_init(const char *opts UNUSED, const char *dir UNUSED) @@ -23,7 +23,7 @@ static char nullbytes[DNBD3_BLOCK_SIZE]; // FUSE ENABLED #define FUSE_USE_VERSION 30 // -#include "../config.h" +#include <dnbd3/config.h> #include "locks.h" #include "threadpool.h" #include "image.h" @@ -658,4 +658,4 @@ static void cleanupFuse() fuseChannel = NULL; } -#endif +#endif // DNBD3_SERVER_FUSE |