chore: removed WITHOUT_TEST option

pull/2/head
Falk Werner 4 years ago
parent bd82b06c8a
commit 0d0a070267

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

@ -13,7 +13,7 @@ webfuse combines libwebsockets and libfuse. It allows ot attach a remote filesys
- [Concept](#Concept) - [Concept](#Concept)
- [Similar Projects](#Similar-Projects) - [Similar Projects](#Similar-Projects)
- [API](#API) - [API](#API)
- [Build and run](#Build-and-run) - [Build](#Build)
- [Dependencies](#Dependencies) - [Dependencies](#Dependencies)
## Motivation ## 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. **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. To install dependencies, see below.
@ -392,19 +392,15 @@ To install dependencies, see below.
mkdir .build mkdir .build
cd .build cd .build
cmake .. cmake ..
mkdir test make
./webfused -m test --document_root=../exmaple/daemon/www --port=4711
### Build options ### 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 - **WITHOUT_TESTS**: disable tests
`cmake -DWITHOUT_TESTS=ON ..` `cmake -DWITHOUT_TESTS=ON ..`
- **WITHOUT_EXAMPLE**: disable example
`cmake -DWITHOUD_EXAMPLE=ON ..`
## Dependencies ## Dependencies
- [libfuse3](https://github.com/libfuse/libfuse/) - [libfuse3](https://github.com/libfuse/libfuse/)

Loading…
Cancel
Save