1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00

chore: removed WITHOUT_TEST option

This commit is contained in:
Falk Werner 2020-02-10 15:40:04 +01:00
parent bd82b06c8a
commit 0d0a070267
2 changed files with 4 additions and 9 deletions

View File

@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.10)
project(webfuse VERSION 0.2.0 DESCRIPTION "Websocket filesystem based on libfuse")
option(WITHOUT_TESTS "disable unit tests" OFF)
option(WITHOUT_EXAMPLE "disable example" OFF)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(coverage)

View File

@ -13,7 +13,7 @@ webfuse combines libwebsockets and libfuse. It allows ot attach a remote filesys
- [Concept](#Concept)
- [Similar Projects](#Similar-Projects)
- [API](#API)
- [Build and run](#Build-and-run)
- [Build](#Build)
- [Dependencies](#Dependencies)
## Motivation
@ -384,7 +384,7 @@ The authenticator type **username** is used to authenticate via username and pas
**Note** that no further encryption is done, so this authenticator type should not be used over unencrypted websocket connections.
## Build and run
## Build
To install dependencies, see below.
@ -392,19 +392,15 @@ To install dependencies, see below.
mkdir .build
cd .build
cmake ..
mkdir test
./webfused -m test --document_root=../exmaple/daemon/www --port=4711
make
### Build options
By default, unit tests and example application are enabled. You can disable them using the following cmake options:
By default, unit tests are enabled. You can disable them using the following cmake options:
- **WITHOUT_TESTS**: disable tests
`cmake -DWITHOUT_TESTS=ON ..`
- **WITHOUT_EXAMPLE**: disable example
`cmake -DWITHOUD_EXAMPLE=ON ..`
## Dependencies
- [libfuse3](https://github.com/libfuse/libfuse/)