Build and run examples as tests
This PR turns examples into tests:
-
Autotools: option--enable-examplesis removed, the examples are built and run withmake check; -
CMake: optionMTIME_BUILD_EXAMPLESis removed, the examples are built withmakeand run withmake testwhen-DBUILD_TESTING=ON.
Depends on !76 (merged).
Edited by Sergey Kosukhin