diff --git a/CMakeLists.txt b/CMakeLists.txt index 48df128..504ef4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/README.md b/README.md index 716e079..7ea0d16 100644 --- a/README.md +++ b/README.md @@ -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/)