Removed temporary files and got cmake working again.
Next is ctest.