File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
33863387Sample 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;
You can’t perform that action at this time.
0 commit comments