Do not build the tests by default (CMake)
authorVictor Romero <romerosanchezv@gmail.com>
Thu, 6 Jun 2019 07:24:28 +0000 (10:24 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 6 Jun 2019 07:24:28 +0000 (10:24 +0300)
commit4cd0de67de9cc64b72abc11489a29959ac4e18ec
treea878671eb03136d1977e4f71bd5eb56ca37f4fbb
parent5037da9f7c9b49ca6dfa64b51bbc67b94f470688
Do not build the tests by default (CMake)

Issue #281 (bdwgc).

build_cord and build_tests options are introduced in the CMake script.

* CMakeLists.txt (build_cord): Add option (on by default); add comment.
* CMakeLists.txt (build_tests): Add option (off by default).
* CMakeLists.txt (cord): Specify add_subdirectory only if build_cord.
* CMakeLists.txt (tests): Specify add_subdirectory only if build_tests.
* cord/CMakeLists.txt: Skip cordtest and de tests unless build_tests.
CMakeLists.txt
cord/CMakeLists.txt