diff options
author | Niels Lohmann <mail@nlohmann.me> | 2018-11-26 20:12:35 +0100 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-06-24 21:22:38 -0400 |
commit | f8cab71872fcbc4b96e4998a896f9fa8a60989e8 (patch) | |
tree | 3fd341273f15e24f5a1ce067c6a48a2c43b1bd88 /docs/src | |
parent | 0b29acb0cab7baeb6af77aa9ae259b4c6ebf000a (diff) | |
download | libuv-f8cab71872fcbc4b96e4998a896f9fa8a60989e8.tar.gz libuv-f8cab71872fcbc4b96e4998a896f9fa8a60989e8.zip |
build: add cmake option to skip building tests
In case libuv is included via add_subdirectory, its tests are always
built and executed. This cannot be skipped currently, because switching
BUILD_TESTING to false would also switch off all other tests in the
parent project.
This commit adds a switch "libuv_buildtests" which can individually
switch of the compilation and execution of libuv's tests. It is ON by
default, so the default behavior does not change. However, projects
that include libuv via add_subdirectory can not set libuv_buildtests to
OFF if they are not interested in its tests.
PR-URL: https://github.com/libuv/libuv/pull/2094
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions