To be able to make install the header-only library without having to build anything.
CTest, besides conditionally invoking enable_testing() and more, adds the option BUILD_TESTING which can be turned off when invoking cmake with -DBUILD_TESTING=OFF. See also https://cmake.org/cmake/help/latest/module/CTest.html.
To be able to
make install
the header-only library without having to build anything.CTest
, besides conditionally invokingenable_testing()
and more, adds the optionBUILD_TESTING
which can be turned off when invoking cmake with-DBUILD_TESTING=OFF
. See also https://cmake.org/cmake/help/latest/module/CTest.html.