File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,9 @@ To build and run unit tests for a specific library:
6363task test-< lib_name>
6464```
6565
66- The default behaviors for ystdlib-cpp unit test building are:
67- * As a top-level project, unit tests are built.
68- * When included as a subproject, the parent-scope ` BUILD_TESTING ` flag (true /false/undefined) is
69- strictly respected.
70- If you do not wish to build unit tests under any circumstances, you can override the default
71- behaviors by setting CMake option ` YSTDLIB_CPP_BUILD_TESTING ` to ` OFF ` .
72-
73- As a top-level CMake project, ` ystdlib-cpp ` always builds unit tests. When included as a subproject,
74- it respects the parent-scope ` BUILD_TESTING ` flag. In either case, you can turn off unit test
75- building by setting option ` YSTDLIB_CPP_BUILD_TESTING ` to off.
66+ When generating testing target the CMake variable ` BUILD_TESTING ` is followed, unless overruled by
67+ setting ` YSTDLIB_CPP_BUILD_TESTING ` to false. By default, if built as a top-level project
68+ ` BUILD_TESTING ` will be set to true and unit tests will be built.
7669
7770## Linting
7871Before submitting a pull request, ensure you’ve run the linting commands below and have fixed all
You can’t perform that action at this time.
0 commit comments