File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,13 @@ 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+
6673As a top-level CMake project, ` ystdlib-cpp ` always builds unit tests. When included as a subproject,
6774it respects the parent-scope ` BUILD_TESTING ` flag. In either case, you can turn off unit test
6875building by setting option ` YSTDLIB_CPP_BUILD_TESTING ` to off.
You can’t perform that action at this time.
0 commit comments