Draft: Build and run examples as tests
This PR turns examples into tests:
-
Autotools
: option--enable-examples
is removed, the examples are built and run withmake check
; -
CMake
: optionMTIME_BUILD_EXAMPLES
is removed, the examples are built withmake
and run withmake test
when-DBUILD_TESTING=ON
.
Depends on !76.
Edited by Sergey Kosukhin