Skip to content

Commit 61a880a

Browse files
committed
Update documentation
1 parent 6c3f739 commit 61a880a

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ ELSE (DRACOSHA_VALIDATOR_SRC)
222222

223223
MESSAGE(STATUS "Use standalone cpp-validator library")
224224

225-
OPTION(VALIDATOR_WITH_TESTS "Build tests for cpp-validator library" ON)
226-
OPTION(VALIDATOR_WITH_EXAMPLES "Build examples for cpp-validator library" ON)
225+
OPTION(VALIDATOR_WITH_TESTS "Build tests for cpp-validator library" OFF)
226+
OPTION(VALIDATOR_WITH_EXAMPLES "Build examples for cpp-validator library" OFF)
227227

228228
FIND_PACKAGE(Boost 1.65 REQUIRED)
229229

docs/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3374,14 +3374,15 @@ To use `cpp-validator` library with `CMake` build system do the following:
33743374
TARGET_LINK_LIBRARIES(${PROJECT_NAME} dracoshavalidator ${Boost_LIBRARIES})
33753375
```
33763376
- configure the following optional `CMake` parameters if needed:
3377-
- `VALIDATOR_WITH_FMT` - *On*|*Off* - enable [fmt](https://github.com/fmtlib/fmt) library for [report](#report) [formatting](#backend-formatter) - default is **On**;
3377+
- `VALIDATOR_WITH_FMT` - *ON*|*OFF* - enable [fmt](https://github.com/fmtlib/fmt) library for [report](#report) [formatting](#backend-formatter) - default is *ON*;
33783378
- `FMT_ROOT` - path to folder where [fmt](https://github.com/fmtlib/fmt) library is installed;
33793379
- `FMT_INCLUDE_DIRECTORY` - path to headers of [fmt](https://github.com/fmtlib/fmt) library if `FMT_ROOT` is not set;
3380-
- `FMT_HEADER_ONLY` - *Off*|*On* - mode of [fmt](https://github.com/fmtlib/fmt) library - default **Off**;
3380+
- `FMT_HEADER_ONLY` - *OFF*|*ON* - mode of [fmt](https://github.com/fmtlib/fmt) library - default is *OFF*;
33813381
- `FMT_LIB_DIR` - path to folder with built [fmt](https://github.com/fmtlib/fmt) library if `FMT_ROOT` is not set and `FMT_HEADER_ONLY` is off;
3382-
- `VALIDATOR_WITH_TESTS` - *Off*|*On* - enable tests building - default is **Off**;
3382+
- `VALIDATOR_WITH_TESTS` - *OFF*|*ON* - build with tests - default is *OFF*;
3383+
- `VALIDATOR_WITH_EXAMPLES` - *OFF*|*ON* - build with examples - default is *OFF*.
33833384
3384-
## Building and running tests
3385+
## Building and running tests or examples
33853386
33863387
Sample scripts for tests building and running are located in `sample-build` folder:
33873388
- `win-msvc.bat` to build and run tests on Windows with MSVC compiler;

0 commit comments

Comments
 (0)