cmake: Enable testing. (Launch with `make test` or with `ctest` (see ctest --help)). Plus minor cleanup.
Attach a file by drag & drop or click to upload